所以,我在另一台机器上有一个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)