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

你可能感兴趣的:(openwrt)