Posted By

narkisr on 01/25/09


clean git reflog

Versions (?)

Clearing git reflog

 / Published in: Bash

This example shows how to clean up git's reflogs entries in order save space (see

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

Report this snippet  

You need to login to post a comment.