Skip to content

Instantly share code, notes, and snippets.

@yohangdev
Created October 10, 2017 07:28
Show Gist options
  • Select an option

  • Save yohangdev/6b790026f1f1db82d47fdf07aabc4873 to your computer and use it in GitHub Desktop.

Select an option

Save yohangdev/6b790026f1f1db82d47fdf07aabc4873 to your computer and use it in GitHub Desktop.
Git Extract/List Modified Files Between Commits and Compress ZIP
zip modified-files.zip $(git diff --name-only SHA1 SHA2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment