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

原文地址:https://www.cnblogs.com/yuebuxichen/p/12910148.html