git push 的那点烦心事

好久没用Git了
突然用就有一大堆问题,关键是对命令不熟。好吧

$ git push -u origin master
Access denied
exec request failed on channel 0
fatal: Could not read from remote repository.

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

试了各种操作还是报这个问题
最后在码云的设置中的安全设置的ssh公钥中添加公钥才成功了,我之前只是在项目里添加公钥,终于搞定了,可以继续玩耍了

猜你喜欢

转载自blog.csdn.net/ken1583096683/article/details/80626300