1GIT-CLEAR(1) Git Extras GIT-CLEAR(1)
2
3
4
6 git-clear - Rigorously clean up a repository
7
9 git-clear
10
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
14 together with deletion of all untracked files that reside inside the
15 working directory, including those in .gitignore.
16
18 Clears the repo.
19
20
21
22 $ git clear
23
24
25
27 Written by Daniel ´grindhold´ Brendle <grindhold@gmx.net>
28
30 <https://github.com/tj/git-extras/issues>
31
33 <https://github.com/tj/git-extras>
34
35
36
37 May 2018 GIT-CLEAR(1)