unpacker error when pushing Git

Im using GIT more and more on my own personal projects but as a single developer commiting I don't get many issues. Then I get a weird unpacker error

[sourcecode language="plain"] andyj$ git push origin master Counting objects: 38, done. Delta compression using up to 2 threads. Compressing objects: 100% (20/20), done. Writing objects: 100% (20/20), 5.96 KiB, done. Total 20 (delta 15), reused 0 (delta 0) error: unpack-objects died of signal error: unpack failed: unpack-objects abnormal exit To /*******/*********/*******/***********.git ! [remote rejected] master -> master (n/a (unpacker error)) [/sourcecode]

The fix is simple. [sourcecode language="plain"]$git repack remote/origin/master[/sourcecode]

Find out more at the docs

Posted: 08-Oct-2009

View: 8241

Permalink: here

Comments

Thanks a lot!! It worked for me, too!

#1 anon
15/Oct/09 2:57 PM

Does not appear to be working for me ):

#2 Jacolyte
14/Dec/09 9:36 AM

this is not working either for me!

#3 R
27/Jan/10 2:37 PM

My error was slightly different -
error: unpack failed: index-pack abnormal exit
but this seems to have fixed it.
What does it do, exactly?

#4 Chase
20/Mar/10 5:24 AM

In my case, with the same error, it was a permission problem in the remote repository.

#5 Carsten Senger
08/Nov/10 12:41 AM

Same to me, some permissions were resetted to user root. chown with correct user:group fixed this

Thanx Carsten

#6 Tom Freudenberg
15/Feb/11 6:25 PM