Last active
October 16, 2019 03:33
-
-
Save Leedehai/382c1b8a6a6fdc6afbf3d0de57ff8666 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git gc --aggressive --prune=now | |
git reflog expire --expire=now --expire-unreachable=now --all | |
git repack -ad # Remove dangling objects from packfiles | |
git prune # Remove dangling loose objects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment