DEV Community

Discussion on: Git Concepts I Wish I Knew Years Ago

Collapse
 
philipoakley profile image
Philip Oakley

The git diff with the two dots end points A..B should be deprecated as it doesn't actually follow the normal revision range method of being the range of revisions between ^A B.

Rather its just git diff A B, not git diff $(git merge-base A B) B which the two dot notation would normally imply