Created
September 12, 2017 18:14
-
-
Save gwagroves/81bb3026facd62c0aa0dbf78b8daca81 to your computer and use it in GitHub Desktop.
Copy git modified files to another directory
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
cp -pv --parents `git diff --name-only master..develop -- source/directory` target/directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment