Created
October 30, 2013 18:14
-
-
Save dearaujoj/7237349 to your computer and use it in GitHub Desktop.
Find differences between two branches
This file contains hidden or 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
MASTER=`git log --pretty=format:'%H' develop | sort` | |
DEV=`git log --pretty=format:'%H' new_develop | sort` | |
for i in `diff <(echo "${MASTER}") <(echo "${DEV}") | grep '^>' | sed 's/^> //'`; | |
do | |
git --no-pager log -1 --oneline $i; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment