Skip to content

Instantly share code, notes, and snippets.

@thorsummoner
Created October 8, 2014 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thorsummoner/787eecaf3628fdb8e6d2 to your computer and use it in GitHub Desktop.
Save thorsummoner/787eecaf3628fdb8e6d2 to your computer and use it in GitHub Desktop.
Repack git packfile as per http://stackoverflow.com/a/14571150/1695680
.git/objects/pack$ PACKFILE=pack-<...>.pack ; mv $PACKFILE $PACKFILE.repack; git unpack-objects -r < $PACKFILE.repack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment