git push 出现 The requested URL returned error: 403
github push错误
fatal: unable to access ‘https://github.com/用户名/项目名.git/’: The requested URL returned error: 403
解决方法:
vim .git/config
在github.com前面添加 “用户名@”
修改前
[remote “origin”]
url = https://github.com/用户名/项目名.git
修改为:
[remote “origin”]
url = https://用户名@github.com/项目名/项目名.git
经此, 再次push 应该就能拨开云雾见天日了~~
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
