Reputation: 5664
I can find many similar question but none seems to be exactly what I need:
git log master..staging
is ok but its output is multi line )Basically I want to crosscheck by cli if something is missed on master branch in comparison to production branch and I want to do it programmatically so by script (bash).
I'm looking for a command line, similar to git log master..staging
but with a more concise output.
SOLUTION:
git --no-pager log --oneline --decorate --merges master..staging
Upvotes: 1
Views: 63
Reputation: 791361
git log --oneline master..staging
If you're scripting and just want the commit ids, do:
git rev-parse master..staging
Upvotes: 3