Created
July 30, 2013 13:23
-
-
Save rentalcustard/6112853 to your computer and use it in GitHub Desktop.
Show the contents of all files changed in a commit at the time of the commit
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 show --name-only REVISION --pretty="format:" | while read file | |
do | |
echo $file: | |
git show REVISION:$file | |
done | cat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment