あるコミット間の差分ファイルだけを取り出して、zip にまとめたい。かつ、一部条件のファイルは zip 内に含めたくない、という場合の設定方法です。 差分納品作業のときなどに便利。 【追記】 ↓会社のブログに、もうちょっと丁寧に書き直しました https://www.tam-tam.co.jp/tipsnote/program/post12992.html コマンド例 git archive master --format=zip -o output.zip --prefix=data/ `git diff --name-only --diff-filter=d tag1 tag2`