提交代码时,报:
$ git push
fatal: The current branch business has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin business
解决方法:
git push origin 分支名 -u
The current branch business has no upstream branch.(关于新建一个分支,提交代码时,git报错的解决)
原文:https://www.cnblogs.com/funing-z/p/14539046.html