treehouses / treehouses.github.io

A Markdown Wiki for treehouses 🏡
http://treehouses.io
132 stars 107 forks source link

Possible content add for git checkout #94

Closed phamduchongan93 closed 5 years ago

phamduchongan93 commented 5 years ago

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 by git checkout <branche_name> and work on our commit.

dogi commented 5 years ago

@phamduchongan93 not sure about this one

@treehouses/treehouses-io wonder what is your perspective ...