git checkout -b
Jump to navigation
Jump to search
Create a new branch:
git checkout -b YOUR_NEW_BRANCH_NAME Switched to a new branch
git checkout -b "Name with spaces" fatal: 'Name with spaces' is not a valid branch name.
See also
git checkout
[-b
|master | main | -f
]
Advertising: