But, as a person who works on two or more PRs before the approval of the merging, I always forget to switch back to master branch before creating a new branch.
I suggest that we add the git checkout -b <new_branch_for_PR> master command in the tutorial. It will prevent us from branching from a current working branch. Then, we can freely switch branches by git checkout <branche_name> and work on our commit.
https://treehouses.io/#!./pages/vi/github-issues.md Looking at create a new branch section. The instruction is clear as glass.
But, as a person who works on two or more PRs before the approval of the merging, I always forget to switch back to master branch before creating a new branch. I suggest that we add the
git checkout -b <new_branch_for_PR> master
command in the tutorial. It will prevent us from branching from a current working branch. Then, we can freely switch branches bygit checkout <branche_name>
and work on our commit.