Skip to content

Instantly share code, notes, and snippets.

@aregee
Last active August 29, 2015 14:02
Show Gist options
  • Save aregee/3eb177563e72d98d0eb9 to your computer and use it in GitHub Desktop.
Save aregee/3eb177563e72d98d0eb9 to your computer and use it in GitHub Desktop.
MASTER=`git log --pretty=format:'%H' develop | sort`
DEV=`git log --pretty=format:'%H' feature/uiv2-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