Difference between revisions of "Git checkout -b"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | Create a new [[branch]]: | |
[[git checkout]] -b YOUR_NEW_BRANCH_NAME | [[git checkout]] -b YOUR_NEW_BRANCH_NAME | ||
Switched to a new branch | Switched to a new branch |
Revision as of 17:27, 15 July 2022
Create a new branch:
git checkout -b YOUR_NEW_BRANCH_NAME Switched to a new branch
See also
git checkout
[-b
|master | main | -f
]
Advertising: