当git push 的时候会出现 git push --set-upstream origin bing (bing为我远程分支)

  • 解决方式:

  • git branch --set-upstream-to=origin/remote_branch your_branch

    其中,origin/remote_branch是你本地分支对应的远程分支;your_branch是你当前的本地分支。

  • git push --set-upstream origin your_branch

相关文章: