更改git远程连接http方式为ssh

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 提交


版权声明:本文为WangYouJin321原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。