Skip to content

Instantly share code, notes, and snippets.

@zaosoula
Forked from betweenbrain/gist:4731411
Last active December 20, 2021 19:48
Show Gist options
  • Save zaosoula/053b9efc78face33b3f57cc7247d8653 to your computer and use it in GitHub Desktop.
Save zaosoula/053b9efc78face33b3f57cc7247d8653 to your computer and use it in GitHub Desktop.
Git archive changes made between two commits
git archive --format zip --output=./changes.zip HEAD $(git diff --name-only <SHA> <SHA>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment