bnz0ng
Last Updated: February 25, 2016
·
109
· jhuet
Jhuet

Tarball of files modified between two GIT commits

Don't have any continuous delivery system ? Have to deliver a small fix and not a big release ? Just want a tarball with the modified files in between 2 commits ? There you go !

git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT COMMIT1~..COMMIT2 | xargs tar -rf release.tar
Say Thanks
Respond
Filed Under