1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 15:38:28 +01:00
tldr/pages/common/git-checkout.md

11 lines
195 B
Markdown
Raw Normal View History

2014-03-09 13:20:13 +01:00
#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}}`