mac 下git push问题

mac下提交代码到远程仓库都配置好了,工公钥测试也没问题,git clone也能用,执行的步骤git add .——git commit -m ""——git push origin master,到最后git push时报错了错误提示Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists

好像是权限问题,这个该怎么解决公钥配置ssh -T git@gitee.com测试没问题,为什么回报这个错误,求大神指教,求教……


anfumin
浏览 1694回答 1
1回答

Jaxon

检查本地公钥的权限
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

iOS