-
-
Save scottalan/6be57f9a9d7af0e1d778634c22177872 to your computer and use it in GitHub Desktop.
Determine the diff provided a Story ID.
This file contains hidden or 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 log\ | |
| grep "Merge pull request.*{INSERT STORY ID HERE}" -B 5\ | |
| awk '{\ | |
if ($1=="commit") {\ | |
print system("git diff " $2 "^ " $2);\ | |
}\ | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment