Skip to content

Instantly share code, notes, and snippets.

@brenes
Created June 8, 2015 09:34
Show Gist options
  • Save brenes/64e4244469ad130554de to your computer and use it in GitHub Desktop.
Save brenes/64e4244469ad130554de to your computer and use it in GitHub Desktop.
Repairing non-monotic index git error
> git fetch
...
error: non-monotonic index .git/objects/pack/pack-be03d54c63e1a503114461d4c1945b34c7af01c8.idx
...
> rm .git/objects/pack/pack-be03d54c63e1a503114461d4c1945b34c7af01c8.idx
> git index-pack .git/objects/pack/pack-be03d54c63e1a503114461d4c1945b34c7af01c8.pack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment