Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 430 Bytes

File metadata and controls

26 lines (20 loc) · 430 Bytes

1. Make sure you're on the master branch

git checkout master

2. Create a new branch

git branch <your_github_username>-asks-a-question

3. Switch to the new branch

git checkout <your_github_username>-asks-a-question

Donal says: You can do the last two commands in one step:

git checkout -b <your_github_username>-asks-a-question

4. View your branches

git branch