Created
April 8, 2016 01:21
-
-
Save afirth/aa53ade4f7d61ac5659b667bd4754bdb to your computer and use it in GitHub Desktop.
find merge commit containing a commit, for each local git branch
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
for i in $( git branch | perl -pe's/\*/ /' ); do echo $i $( git find-merge e299e $i ); done | |
#uses find-merge alias |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment