您的足迹:首页 > 读书笔记 >解决推送项目到github git push错误The requested URL returned error: 403 Forbidden while accessing

解决推送项目到github git push错误The requested URL returned error: 403 Forbidden while accessing

GitHub push错误
# git push
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/lisujuan/test.git/info/refs

fatal: HTTP request failed
修改 
[remote "origin"]
url = https://github.com/lisujuan/test.git
为:
[remote "origin"]
url = https://lisujuan@github.com/lisujuan/test.git
红色部分改成你注册github时的名字就可以了。
再次git push,弹出框输入密码,即可提交





相关推荐

发表评论

路人甲 表情
Ctrl+Enter快速提交

网友评论(0)