git 出现 The requested URL returned error: 403

时间:2015-09-09 22:52:00   收藏:0   阅读:1752

github push错误

fatal: unable to access ‘https://github.com/xuzhenguo/authorize.git/‘: The requested URL returned error: 403

 

解决方法:

vim .git/config

修改前

[remote "origin"]

          url = https://github.com/xuzhenguo/authorize.git

修改为:

[remote "origin"]

        url = https://xuzhenguo@github.com/xuzhenguo/authorize.git

 

然后输入自己的git 用户名 

 

原文:http://www.cnblogs.com/xzguo/p/4796175.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!