git push 的那点烦心事

git push 的那点烦心事

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

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

好久没用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公钥中添加公钥才成功了,我之前只是在项目里添加公钥,终于搞定了,可以继续玩耍了

# git, push

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×