1GIT-CLEAR(1)                      Git Extras                      GIT-CLEAR(1)
2
3
4

NAME

6       git-clear - Rigorously clean up a repository
7

SYNOPSIS

9       git-clear
10

DESCRIPTION

12       Clears  the  repository  to  a state that it looks as if it was freshly
13       cloned with the current HEAD. Basically it is a  git-reset  --hard  to‐
14       gether  with  deletion  of  all  untracked files that reside inside the
15       working directory, including those in .gitignore.
16

OPTIONS

18       -f, --force
19
20       Force the clean, with no warning to the user
21
22       -h, --help, ?
23
24       Display usage
25

EXAMPLES

27       •   Clears the repo, with user confirmation required.
28
29           $ git clear
30
31       •   Clears the repo, without user confirmation.
32
33           $ git clear -f
34
35
36

AUTHOR

38       Written by Daniel ´grindhold´ Brendle <grindhold@gmx.net>
39

REPORTING BUGS

41       <https://github.com/tj/git-extras/issues>
42

SEE ALSO

44       <https://github.com/tj/git-extras>
45
46
47
48                                September 2021                    GIT-CLEAR(1)
Impressum