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
Written by Jérémy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#