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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: