Create
This only creates a branch, it doesn't switch to that branch.
git branch testing
Create a branch and switch to it.
git checkout -b dev
// create a branch and switch to it
git checkout master
Last update: 695 days ago
Questions and answers:
Create a branch
- a) git checkout test
- b) git branch test
Create branch and switch to it
- a) git checkout -b dev
- b) git branch -d dev