Last active
April 29, 2019 11:41
-
-
Save jmrnilsson/5c59830be3b3f3293d4f189990023736 to your computer and use it in GitHub Desktop.
Find commits ahead of branch no merge commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --no-merges --format=format:%H master..a_branch | sort > master.ahead | |
git log --no-merges --format=format:%H development..a_branch.development | sort > development.ahead | |
diff master.ahead development.ahead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment