Skip to content
New issue

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

创建并切换到远程分支 #8

Closed
maocomen opened this issue Nov 27, 2017 · 1 comment
Closed

创建并切换到远程分支 #8

maocomen opened this issue Nov 27, 2017 · 1 comment

Comments

@maocomen
Copy link

issue 2x

这个命令是不是有误呢?我本地试好像不成功。

@maocomen
Copy link
Author

git checkout -b dev2 origin/dev

这个命令的意思应该是,创建一个本地分支dev2,对应远程分支dev,并切换到本地分支为 dev2.(前提是远程分支 dev 必须先存在)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant