4 ms·
main is a branch. By convention, it contains all of the commits back to an ancestor that has no parents. Unless given more information, I would consider the c
by xn 4y ago
main is a branch. By convention, it contains all of the commits back to an ancestor that has no parents.
Unless given more information, I would consider the commits between `git merge-base main feature1` (exclusive) and feature1 (inclusive) as part of the feature1 branch.
Now, if I `git checkout -b feature1-A feature1`, what commits are part of branch feature1-A? It depends. With respect to which merge base?