Git中push时出现错误fatal: The remote end hung up unexpectedly
更改https上传方式为ssh(自行百度)
ssh -T git@github.**.com.cn #测试是否可以ssh联通 git remote -v #查看远程镜像仓库链接方式 git remote rm /x星 #删除
git remote set-url origin git@github.xxx.com.cn:xxxt.git
git push 提交
更改git远程连接http方式为ssh
最新推荐文章于 2023-06-13 16:52:43 发布