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
# Verifies the connectivity and validity of the objects in the database | |
git fsck —unreachable | |
# Manage reflog information | |
git reflog expire —expire=0 —all | |
# Pack unpacked objects in a repository | |
git repack -a -d -l | |
# Prune all unreachable objects from the object database |