Reputation: 2114
I'm trying to push a project to GitHub and am following their instructions, posted below:
mkdir PyPong # Skipped mkdir and cd steps
cd PyPong # Git bash path already set
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin [email protected]:[username redacted]/PyPong.git
git push -u origin master # ERROR!
I've already committed all my files, created my RSA key for SSH, and configured my API token. However, I still get the following problems in bash:
$ git push -u origin master
fatal: '[email protected]/[username redacted]/PyPong.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
What am I doing wrong?
Upvotes: 0
Views: 708
Reputation: 301497
What is there in your .git/config
as url for origin?
The error seems to suggest that the url is [email protected]/user/PyPong.git
while it should be [email protected]:user/PyPong.git
Upvotes: 3