vlcik vlcik - 1 year ago 265
Git Question

Git push failed - unpack-objects abnormal exit

I'm using remote git repository. I successfully commit my files and now I'm trying
to push it up to stream.

Operation fails with this messasge:

git.exe push --progress "origin" master:master

error: unpack failed: unpack-objects abnormal exit
error: RPC failed; result=18, HTTP code = 200

I use TortoiseGit client on Windows 7.

Why am I getting this message? how to recover from this state?

Answer Source

According to this article git repack remote/origin/master might help in case your local repository was corrupted. To check that you can try cloning your remote repo into new directory and test push from it.