Skip to content

Instantly share code, notes, and snippets.

@EarthmanWeb
Forked from brenes/instructions
Created August 2, 2023 09:05
Show Gist options
  • Save EarthmanWeb/04f4db64a74d939764aa42ff3d4efd04 to your computer and use it in GitHub Desktop.
Save EarthmanWeb/04f4db64a74d939764aa42ff3d4efd04 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