Created
April 26, 2022 12:07
-
-
Save ml-eds/7dc5619a929d5f57fe0a82edb604e205 to your computer and use it in GitHub Desktop.
git diff - export all changed files between two commits into tar archive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# export all changed files from commit b58b5f9 to commit HEAD into tar archive | |
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT b58b5f9^..HEAD | tar -czf file.tgz -T - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment