Created
November 15, 2016 07:12
-
-
Save jameBoy/fc96bc8f22a527622e1e0841eb148ed7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch origin branchname:branchname | |
| 可以把远程某各分支拉去到本地的branchname下,如果没有branchname,则会在本地新建branchname | |
| git checkout origin/remoteName -b localName | |
| 获取远程分支remoteName 到本地新分支localName,并跳到localName分支 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment