Skip to content

Instantly share code, notes, and snippets.

@fmalamitsas
Created July 8, 2013 13:18
Show Gist options
  • Save fmalamitsas/5948706 to your computer and use it in GitHub Desktop.
Save fmalamitsas/5948706 to your computer and use it in GitHub Desktop.
MASTER=`git log --pretty=format:'%H' master | sort`
DEV=`git log --pretty=format:'%H' 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