Biggest plus for me:
"git checkout A...B" is a way to detach HEAD at the merge base between A and B.
I always find myself trying to figure out where two branches meet in the history.
"git checkout A...B" is a way to detach HEAD at the merge base between A and B.
I always find myself trying to figure out where two branches meet in the history.
You might use this if you have a branch from someone else and you just want to know how long ago it diverged from your own branch. Or you might rewind to the common ancestor of two temporary branches before doing something like squashing the commits from each branch onto the ancestor, one after the other.