gitHub推送出现The requested URL returned error: 403

gitHub向上推送出现错误
fatal: unable to access ‘https://github.com/xuzhenguo/authorize.git/’: The requested URL returned error: 403

解决方法:
vim .git/config
修改前
[remote “origin”]
url = https://github.com/xuzhenguo/authorize.git
修改为:
[remote “origin”]
url = https://[email protected]/xuzhenguo/authorize.git
输入自己的git 用户名

你可能感兴趣的:(经验总结)