Create a branch and switch to it in one command
- Alternative way that creates a branch and checks it out:
git checkout -b featurex
- Make some changes to file, and commit it to the repository.
- Use
gitk --allto see the branch.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
git checkout -b featurex
gitk --all to see the branch.