/ Published in: PHP
make a tarball of only the changed directories in a git repos, since last tag. replace {tagnamelast} with any name you siwh to give the tarball replace {tagnameprevious} with a git reference (like a tag) from which you want to zip the changes.
Expand |
Embed | Plain Text
tar -czf {tagname_next}.tar.gz `git diff --name-only {tagname_previous}`
You need to login to post a comment.
