Skip to content

Instantly share code, notes, and snippets.

@Speedy37
Created July 10, 2020 08:52
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Speedy37/ce082a5db63b223cfe36a94f317d3f3a to your computer and use it in GitHub Desktop.
Save Speedy37/ce082a5db63b223cfe36a94f317d3f3a to your computer and use it in GitHub Desktop.
List Different Commits Between Two Branches

This lists commits with the first line of their messages.

It also includes either a < or > arrow at the front of each commit indicating whether the commit is on:

  • <: left (feature)
  • >: right (master)
git log --left-right --graph --cherry-pick --oneline feature...master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment