What is the base branch when a new one is created?
问题 I need to confirm/correct my assumptions when creating branches. If I'm in master branch, after doing: git checkout -b some_branch it means I have started a new branch from master. On the other hand, if I checkout another branch, and create a branch there: git checkout some_branch git checkout -b other_branch This means I've created other_branch using all the current code committed from some_branch, right? And, regardless of the current branch, if this is done: git branch branch_2 branch_1