解决github push错误The requested URL returned error: 403 Forbidden while accessing

来源:互联网 发布:淘宝卖家怎么弄花呗 编辑:程序博客网 时间:2024/05/19 17:07

[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


# 将

  1. [remote "origin"]  
  2.     url = https://github.com/iopqrst/learn20140823.git
修改为:
[remote "origin"]url = https://iopqrst@github.com/iopqrst/learn20140823.git
0 0
原创粉丝点击