解决github push错误The requested URL returned error: 403 Forbidden while accessing
来源:http://blog.csdn.net/happyteafriends/article/details/11554043
github push错误:
- git push
- error: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/future.git/info/refs
OS:CENTOS
解决方案:
vim .git/config
修改
- [remote "origin"]
- url = https://github.com/wangz/example.git
- [remote "origin"]
- url = https://wangz@github.com/wangz/example.git
作 者:imsoft
Email:imsofter#163.com
出处:http://www.cnblogs.com/imsoft/
本文版权归作者和博客园共有,欢迎转载、交流,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接。如果觉得本文对您有益,欢迎点赞、欢迎探讨。本博客来源于互联网的资源,若侵犯到您的权利,请联系博主予以删除。