Git push failed - unpack-objects abnormal exit

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

    On Windows, the only fix that worked for me was to remove the following lines from my .gitconfig file:

    [credential]
    helper = !'C:\\Users\\YourNameHere\\AppData\\Roaming\\GitCredStore\\git-credential-winstore.exe'
    

    Once I did that, I manually pushed once (successfully), then added the above lines back to .gitconfig, and everything worked.

提交回复
热议问题