Git push failed - unpack-objects abnormal exit

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

    If you use a HTTP URL, you cannot push data via HTTP. HTTP is for read only access. Use ssh instead.

    Do git remote -v to check if your repository URL is a HTTP one. You can change this URL by doing this git remote set-url origin ssh:user@server/dir/project.git

    After that, you can push!

提交回复
热议问题