在要推送项目的文件目录下:[git@AYZ github01]$ git push -u origin master
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/iopqrst/learn20140823.git/info/refs
vi .git/config
# 将
- [remote "origin"]
- url = https://github.com/iopqrst/learn20140823.git
修改为:[remote "origin"] url = https://iopqrst@github.com/iopqrst/learn20140823.git