解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing

   

       git提交代码时,出现这个错误“error: The requested URL returned error: 403 Forbidden while accessing https”

     解决方法:

     编辑.git文件夹下的config文件就可以。

vim .git/config
#改动对于的配置
#原来的url = https://github.com/elitecodegroovy/PhoenixC.git

url = https://elitecodegroovy@github.com/elitecodegroovy/PhoenixC.git

     又一次提交,弹出的对话框中输入正确的passphrase就可以。

posted @ 2014-06-25 11:01  mfrbuaa  阅读(1740)  评论(0编辑  收藏  举报