Specifying A Range of Commits for Planning Git Merges

Use double-dot notation when specifying commit ranges.

git log master..experiment

We are asking the question:

“What range of commits ‘closes the gap’ FROM master TO experiment?” πŸ‘‡

This will help you with planning git merges.

The output will show you what work (range of commits) you have not merged in yet.

Leave a comment