I\'m trying to push one of my projects to github, and I keep getting this error:
fatal: The current branch master has no upstream branch.
I\'ve
Try both the HTTP and SSH urls? I had a problem when I was using the SSH url but, when I switched to the HTTP one, it worked like a charm.
Here is what I changed:
First, view the remote URL
git remote -v
and you get destinations back.
git remote rm destination
Follow this link if you need help: https://help.github.com/articles/removing-a-remote/
Then,
git remote add origin url
git push -u origin master