gitbash 提交修改代码的时候报错“Please make sure you have the correct access rights and the repository exists”

gitbash 提交修改代码的时候报错

 

$ git push -f -u origin master
ssh: connect to host sd.cicd.vpclub.cn port 9444: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

 

看本地的.git/config设置的仓库url地址和github使用的链接地址是否一致,必须是https地址

不是ssh地址

 

修改一下仓库地址就行了

https://blog.csdn.net/m0_37034294/article/details/79986198

posted on 2020-05-18 13:53  下周去洗车  阅读(297)  评论(0编辑  收藏  举报

导航