Created
April 19, 2014 20:06
-
-
Save splbio/11095878 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
# get the dif based on a pull request. | |
# first get the merge info | |
% git log --format="%p" -1 refs/pull/1/merge | |
395a6b6 c07adb2 | |
# find the common parent | |
% git merge-base 395a6b6 c07adb2 | |
7a6ad5e1339681dda3ba55722307143b09685038 | |
# now get the diff for the entire thing. | |
% git diff 7a6ad5e1339681dda3ba55722307143b09685038..c07adb2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment