split git commands
This commit is contained in:
11
pages/common/git-checkout.md
Normal file
11
pages/common/git-checkout.md
Normal file
@@ -0,0 +1,11 @@
|
||||
#git checkout
|
||||
|
||||
> Checkout a branch or paths to the working tree
|
||||
|
||||
- Switch to another branch
|
||||
|
||||
`git checkout {{BRANCH-NAME}}`
|
||||
|
||||
- Create and switch to a new branch
|
||||
|
||||
`git checkout -b {{BRANCH-NAME}}`
|
Reference in New Issue
Block a user