相关疑难解决方法(0)

请求的URL返回错误:403访问github.com时禁止访问

所以,我在另一台机器上有一个repo设置.我已经提交并推送文件,他们在github.com上查看正常.现在,我已经git init在另一台机器上跑了,我正试着拉.

# git remote set-url origin git@github.com:me/someproj.git
fatal: No such remote 'origin'

# git remote add origin https://github.com/me/someproj.git

# git pull
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/me/someproj.git/info/refs

fatal: HTTP request failed

# git remote -v
origin  https://github.com/me/someproj.git (fetch)
origin  https://github.com/me/someproj.git (push)

# git pull origin
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/me/someproj.git/info/refs

fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

git github

5
推荐指数
1
解决办法
4万
查看次数

标签 统计

git ×1

github ×1