git push: error 401 Unauthorized while accessing

git push origin master
error: The requested URL returned error: 401 Unauthorized while accessing https://git.oschina.net/qianguozheng/mtk7620a.git/info/refs

vi .git/config


[remote “origin”]
url = https://github.com/iopqrst/learn20140823.git
修改爲:
[remote “origin”]
url = https://[email protected]/iopqrst/learn20140823.git

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章