github

git push报错

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/xingdong1117/server.git/info/refs

vim ./git/config

修改

[remote "origin"]
url = https://github.com/xingdong1117/server.git
为

[remote "origin"]
url = https://xingdong1117@github.com/xingdong1117/server.git

ps:xingdong1117是我的github用户名