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

NAME

6       git-clear-soft - Soft clean up a repository
7

SYNOPSIS

9       git-clear-soft
10

DESCRIPTION

12       Clears  the  repository  to  a state that it looks as if it was freshly
13       cloned with the current HEAD, however, preserving all changes that  are
14       located  in  files  and  directories  listed  in  .gitignore.  It  is a
15       git-reset --hard together with deletion of  all  untracked  files  that
16       reside inside the working directory, excluding those in .gitignore.
17

EXAMPLES

19       Clears the repo.
20
21
22
23           $ git clear-soft
24
25
26

AUTHOR

28       Modified  version  of  script  written  by  Daniel  ´grindhold´ Brendle
29       <grindhold@gmx.net> by Matiss Treinis <mrtreinis@gmail.com>
30

REPORTING BUGS

32       <https://github.com/tj/git-extras/issues>
33

SEE ALSO

35       <https://github.com/tj/git-extras>
36
37
38
39                                 October 2017                GIT-CLEAR-SOFT(1)
Impressum