Git push failed - unpack-objects abnormal exit

后端 未结 12 2250
长发绾君心
长发绾君心 2020-12-09 07:38

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         


        
12条回答
  •  醉话见心
    2020-12-09 08:31

    In my case, the remote repo was a shallow clone. I was pushing a merge commit which apparently was using commits dated before the earliest commit the shallow repo had.

    To fix this you need to unshallow the remote: git fetch --unshallow

提交回复
热议问题