Skip to content

Commit

Permalink
Improved git cleanup script.
Browse files Browse the repository at this point in the history
  • Loading branch information
zlogic committed Feb 26, 2015
1 parent 9a70676 commit 45ccdfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git-compact.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"C:\Program Files (x86)\Git\bin\sh.exe" -login -i -c "git gc --prune=now --aggressive"
"C:\Program Files (x86)\Git\bin\sh.exe" -login -i -c "git reflog expire --all"
"C:\Program Files (x86)\Git\bin\sh.exe" -login -i -c "git clean -xdf"

pause

0 comments on commit 45ccdfa

Please sign in to comment.