Skip to content

Instantly share code, notes, and snippets.

@dtateii
Last active April 21, 2016 20:45
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dtateii/cb931281ccfc1df751b9 to your computer and use it in GitHub Desktop.
Save dtateii/cb931281ccfc1df751b9 to your computer and use it in GitHub Desktop.
Recursively copy changed files between two Git tags (or commits) to another location.
git diff --name-only v0.3 v0.4 | xargs -I{} rsync -Rv "{}" ~/Desktop/destination-dir/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment