Skip to content

Instantly share code, notes, and snippets.

@yunusga
Last active December 2, 2022 06:57
Show Gist options
  • Save yunusga/3e4105675b002dbc695c0d06ada9e6c5 to your computer and use it in GitHub Desktop.
Save yunusga/3e4105675b002dbc695c0d06ada9e6c5 to your computer and use it in GitHub Desktop.
Архивирование изменений между Git коммитами
git archive -o patch.zip HEAD $(git diff --name-only --diff-filter d HEAD~1 HEAD) && unzip patch.zip -d patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment