Skip to content

Instantly share code, notes, and snippets.

@yuki24
Created June 1, 2014 22:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yuki24/d9cd34a62b406246588f to your computer and use it in GitHub Desktop.
git diff by commit messages
BRANCH=0.16-stable; M=`git log --pretty=format:'%s' master | sort`; B=`git log --pretty=format:'%s' $BRANCH | sort`; diff <(echo "${MASTER}") <(echo "${B}") | grep "^>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment