有多个代码仓库,今天把本地的一个项目推送到远程另一个仓库,报错: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常规提交git push origin master //报错protocol 'https' is not supported。总结以下就是不管clone还是push时报这种错,都是因为你设置的远程仓库url“不够干净”导致的,可能是你自己按键的问题,或者复制源有问题,在url前面加上了多余字符