Skip to content

Instantly share code, notes, and snippets.

@asalhani
Created June 12, 2018 09:33
Show Gist options
  • Save asalhani/e2c7cae0bf59f634794c468d90e95440 to your computer and use it in GitHub Desktop.
Save asalhani/e2c7cae0bf59f634794c468d90e95440 to your computer and use it in GitHub Desktop.
1- Change to the root of the local repository.
cd <YOUR_PROJECT>
2- List all your branches:
git branch -a
3- Checkout the branch you want to use.
git checkout feature
4- Confirm you are now working on that branch:
git branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment