Git push failed - unpack-objects abnormal exit

后端 未结 12 2234
长发绾君心
长发绾君心 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:30

    I've run into the same trouble when I changed my git from VPN to https connection.

    Something happend in my git Repository and I couldn't push anymore, but pull still worked. I also tried the Solution with git -repack remote/origin/master, but still same Issue.

    To solve this, I just made a new clone from my repo with the new connection and was able to use push methods as known. I don't know really why this couldn't be solved by git -repack, but in this way it works for sure!

    I guess there was something that doesn't fit with the VPN remote settings for the Server as I changed the access method to https.

    Hope this helps.

提交回复
热议问题