We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一开始拉代码下来的时候,本地新建个dev分支是对应远程的dev分支(即origin/dev),那么我想更改本地dev分支关联线上的master分支:
dev
origin/dev
master
git branch --set-upstream-to=origin/master dev
dev为本地分支,origin/master为远程分支 也可以这样写:
origin/master
git branch --set-upstream dev origin/master
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一开始拉代码下来的时候,本地新建个
dev
分支是对应远程的dev
分支(即origin/dev
),那么我想更改本地dev
分支关联线上的master
分支:dev
为本地分支,origin/master
为远程分支也可以这样写:
The text was updated successfully, but these errors were encountered: