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

git checkout -b issue-#001 master 后面的master是什么参数 #17

Closed
oldratlee opened this issue Jan 23, 2016 · 1 comment
Closed

Comments

@oldratlee
Copy link
Owner

同步自http://blog.jobbole.com/76867/#comment-152803 ,Cstars 的关于Gitflow工作流的问题:

写的非常好,解答了不少疑惑,问一下, git checkout -b issue-#001 master 后面的master是什么参数啊?我只知道 git checkout -b issue-#001 这个是检出新分支并切换到该分支.求解惑.

@oldratlee oldratlee self-assigned this Jan 23, 2016
@oldratlee
Copy link
Owner Author

git checkout -b new_branch_name from_branch

最后的这个参数可以省略,表示从当前分支新建分支。

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

No branches or pull requests

1 participant