您的位置:首页 > 产品设计 > UI/UE

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

2015-08-16 18:34 771 查看
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能够。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: