Return to Snippet

Revision: 11128
at January 25, 2009 19:12 by narkisr


Initial Code
$ git reflog expire --expire=1.minute refs/heads/master
$ git fsck --unreachable      # now I see those tarball blobs!
$ git prune                   # hasta la vista, baby
# git gc                      # cleanup and repack the repo

Initial URL

                                

Initial Description
This example shows how to clean up git's reflogs entries in order save space (see http://www.newartisans.com/blog/2008/04/diving-into-git.html).

Initial Title
Clearing git reflog

Initial Tags
git

Initial Language
Bash