So, I have a repo setup, on another machine. I've committed and pushed files and they view fine on github.com. Now, I have ran git init
on another machine and I'm trying to pull.
# 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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…