解决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 @ 2015-08-16 18:34  blfshiye  阅读(265)  评论(0编辑  收藏  举报