Sep 20, 2011

Git housekeeping

git fsck # Verifies the connectivity and validity of the objects in the database

git prune # Prune all unreachable objects from the object database

git gc # Cleanup unnecessary files and optimize the local repository

git pack # Pack unpacked objects in a repository

git prune-packed # Remove extra objects that are already in pack files

No comments: