Skip to content

Instantly share code, notes, and snippets.

@johnmcc
Created June 10, 2013 08:44
Show Gist options
  • Save johnmcc/5747325 to your computer and use it in GitHub Desktop.
Save johnmcc/5747325 to your computer and use it in GitHub Desktop.
Create zip archive with changes between two commits.
git archive -o latest.zip later-commit $(git diff --name-only earlier-commit later-commit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment