How do I checkout a specific branch?
Answer
Then, do the following:
Answer
Then, do the following:
- Change to the root of the local repository. $ cd <repo_name>
- List all your branches: $ git branch -a. You should see something similar to the following: …
- Checkout the branch you want to use. $ git checkout <feature_branch>
- Confirm you are now working on that branch: $ git branch.