I'm trying to push my local git repository to my newly created Bitbucket repository.
What I did:
git initgit remote add origin [email protected]:USERNAME/REPONAME.gitgit add .git commit -m 'Initial commit'git push -u origin master
Instead of pushing, I receive:
repository does not exist. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. When I cat .git/config, I can see the correct URL which should be used:
url = ssh://[email protected]/USERNAME/REPONAME.git
I'm not quite sure why this isn't working. I've set up a repository in the same way yesterday and all went fine.
What am I doing wrong?
ssh -T [email protected]give?