Last active
November 3, 2018 14:35
-
-
Save salaros/aa23a5de7a3bf8679f820ac0fa29037d to your computer and use it in GitHub Desktop.
Repair and speed up huge Git repositories
This file contains hidden or 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 fsck | |
git repack -ad | |
git gc --prune=now | |
git gc --aggressive | |
git fsck |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment