Skip to content

Instantly share code, notes, and snippets.

@vitalyp
Created January 30, 2018 10:28
Show Gist options
  • Save vitalyp/f2920cdd914d3326bf201c01b57e275b to your computer and use it in GitHub Desktop.
Save vitalyp/f2920cdd914d3326bf201c01b57e275b to your computer and use it in GitHub Desktop.
Get diff Files since last 5 commits
git archive -o update.zip HEAD $(git diff --name-only HEAD~5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment