解决github push错误The requested URL returned error: 403 Forbidden while accessing
github push错误: git pusherror: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/future.git/info/refs git version 1.7.1OS:CENTOS解决方案:vim ....
·
github push错误:
-
git push error: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/future.git/info/refs
git version 1.7.1
OS:CENTOS
解决方案:
vim .git/config
修改
-
[remote "origin"] url = https://github.com/wangz/example.git
为:
[remote "origin"]
url = https://wangz@github.com/wangz/example.git
如果还是错误,应该是密码错误的原因。
再次git push,弹出框输入密码,即可提交
转载地址:https://blog.csdn.net/happyteafriends/article/details/11554043
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
已为社区贡献3条内容
所有评论(0)