Last active
February 15, 2021 14:34
-
-
Save karrikas/5d0bd3915f131a275a208cfadae496e8 to your computer and use it in GitHub Desktop.
Copy modified files between git commits
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 sha1 sha2) ../path/to/copy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment