error: The requested URL returned error: 403 Forbidden while

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用户名


分类:   程序人生  / 
标签:   git
 /  浏览量:  1005
2015-11-23 20:10 Monday