参考 :
http://www.cnblogs.com/leealways87/archive/2013/04/14/3020840.html
执行sudo git pull
提示
做以下操作:
解决问题。
http://www.cnblogs.com/leealways87/archive/2013/04/14/3020840.html
执行sudo git pull
提示
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
做以下操作:
git config --global user.name davidhuang
git config --global user.email davidhuang@nmg.com.hk
git remote set-url origin https://davidhuang_nmg@bitbucket.org/gitadmin/it- message-center.git
解决问题。
本文介绍了当使用sudogitpull命令时遇到权限被拒绝错误的解决方案。通过配置用户名、邮箱及设置正确的仓库URL来确保能够从远程仓库正确拉取代码。
1632

被折叠的 条评论
为什么被折叠?



