$ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
$ git push --set-upstream origin master
fatal: I don't handle protocol ''
$ git config --global url."https://".insteadOf git://
$ git push --set-upstream origin master
fatal: I don't handle protocol ''
$ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
Try and reset the push url to:
git remote set-url origin https://github.com/<username>/<reponame>
Replace <username>
with your GitHub user account, and <reponame>
with your datasciencecoursera repo name.
I had a similar problem and I did the following, run the following command
1. git remote set-url origin https://github.com/<username>/<reponame>
replace username and reponame then run
2. git push --set-upstream origin master
Best of luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With