Skip to content

Instantly share code, notes, and snippets.

@gcpantazis
Created October 25, 2012 22:22
Show Gist options
  • Save gcpantazis/3955842 to your computer and use it in GitHub Desktop.
Save gcpantazis/3955842 to your computer and use it in GitHub Desktop.
Git exports and reference
# Export all the files changed since commit COMMIT-ID-OR-ALIAS
tar czvf changed-files.tar.gz -T <(git diff --name-only COMMIT-ID-OR-ALIAS..)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment