Last Updated: June 24, 2016
·
141
· ryrych

Reviewing new commits merged into master

This protip may sound very simple, yet to be honest, this essential habit to know what comes into master didn’t stick. Web development is rapid and changing in nature, so during the ‘grind’ it is easy to forget about those simple things. I’m going to give it another try, though.
OK, without further ado; with newer version of Git you can type:

git le head --not origin/master

Where head is your feature branch. Previously you could use this:

git le origin/master..head

For me it is easier to remember the first one. What’s you choice?