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

时间:2014-06-26 23:42:11   收藏:0   阅读:2062

   

       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就可以。

解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!