1.
- 1 -
main
- Look again, you should see more than just the
main
branch. - 1 -
feature branch
- Look again, you should see more than just the
feature
branch. - 2 -
main
andfeature branch
- Correct! Your local repository will have both the
main
branch and yourfeature
branch. - 3 or more with differing branch names
- If you have more than 2 branches perhaps you created a feature branch multiple times by accident.
The
git branch -l
(lower case L, not one) command lists all of the branches that exist in your local repository.How many branches are in your local repository?
Hint.
Refer to Figure 3.7.1 and look at the local branches on your machine.