github push错误:
git push
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/future.git/info/refs
解决方案:
vim .Git/config
修改
[remote “origin”]
url = https://github.com/wangz/example.git
为:
[remote “origin”]
url = https://wangz@github.com/wangz/example.git
再次git push,弹出框输入密码,即可提交
如无特殊说明,文章均为本站原创,转载请注明出处
- 转载请注明来源:解决github push错误The requested URL returned error: 403 Forbidden while accessing
- 本文永久链接地址:http://www.hongxiaowei.com/xiaowei/654.html