Return to Snippet

Revision: 23246
at February 2, 2010 02:26 by berkes


Initial Code
tar -czf {tagname_next}.tar.gz `git diff --name-only {tagname_previous}`

Initial URL


Initial Description
make a tarball of only the changed directories in a git repos, since last tag.
replace {tagname_last} with any name you siwh to give the tarball
replace {tagname_previous} with a git reference (like a tag) from which you want to zip the changes.

Initial Title
make a tarball of only the changed directories in a git repos, since last tag.

Initial Tags
git

Initial Language
PHP