Last active
October 27, 2015 16:24
-
-
Save mvtenorio/a94e94710076101e8082 to your computer and use it in GitHub Desktop.
Command to get all the modified files between two commits and copy them to another folder
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 diff --name-only --diff-filter=AMRT sha1 sha2 | xargs tar cvf - | (cd ~/destination/; tar xfp -) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment