gitlab - Git push: Error: unpack failed: index-pack abnormal exit -
i try push git repository empty gitlab repo. following error:
remote: error: object e2c586089171e13888609613eca5e589f49b717b: nullsha1: contains entries pointing null sha1 remote: fatal: error in object error: unpack failed: index-pack abnormal exit git@gitlab.domain.de:newrepo.git ! [remote rejected] master -> master (unpacker error) error: failed push refs 'git@ggitlab.domain.de:newrepo.git'
i using same repo remote , github , works fine.
i tried git repack remote/origin/master
suggested post, not help.
i know old question, guess many people might still experience issue. in case, has happened every single time tried push bigger commit (not few staged hunks, multiple new directories , files) gitlab via ssh (https never allowed me checkout @ on gitlab, though bitbucket, github , our own gitblit worked fine) using windows build of sourcetree. lost hours messing repack , compression settings, trying different versions of git , sourcetree, never worked.
strangely enough, had switch sourcetree's ssh client putty openssh, run ssh-keygen in terminal, , upload new public key gitlab (and add sourcetree in tools menu). push went through immediately.
hope helps :-).
Comments
Post a Comment