Created
October 4, 2010 23:18
-
-
Save zpao/610642 to your computer and use it in GitHub Desktop.
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
git diff `git merge-base HEAD master` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So my experience with
git diff master
is it will actually diff HEAD with master. If you haven't merged master into your branch recently, then the diff will show everything new that's landed in master.What I wrote should diff against the last merge point, so it creates a patch that I could toss on bugzilla (well almost, I need to strip out the
index
line)Then again, I could be doing it wrong. I've not really delved too deeply into git.