`
flex_莫冲
  • 浏览: 1074688 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

git pull 失败的解决办法

git 
阅读更多
参考 :
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


解决问题。


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics