Created
July 7, 2011 20:31
-
-
Save yaph/1070476 to your computer and use it in GitHub Desktop.
copy changed files in git repo to target directory, paths are not retained
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 | xargs -I {} cp {} /target_dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment