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


/ Published in: PHP
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. tar -czf {tagname_next}.tar.gz `git diff --name-only {tagname_previous}`

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.