Getting existing git branches to track remote branches

前端 未结 7 964
一整个雨季
一整个雨季 2021-01-29 21:43

My usual workflow when working with git, is something like this:

  1. create a local repository
  2. do some work in that repository, add/change files etc.
7条回答
  •  终归单人心
    2021-01-29 21:53

    The --set-upstream flag is deprecated and will be removed.

    git branch master --set-upstream-to myupstream/master

提交回复
热议问题