LoginSignup
1
2

More than 5 years have passed since last update.

ソースツリー(Source Tree)で2点間の差分ファイルを一発で作る、MAC版

Last updated at Posted at 2015-05-25

※コマンド使用の人は不要かも知れませんが。
以下をベースに改良していますので、
設定は参考にして貰えればとおもいます。
https://www.eyemovic.com/blog_it/4747.php
差分を作りたい"2点"を選択して、実行してもらえれば、
その間の差分をZipで作ります。

sabun.sh
#!/bin/sh
git archive --format=zip HEAD `git diff --name-only $2 $1 --diff-filter=ACMR` -o ../az.zip

sabun.shは実行形式に変更する必用がありますので
sabun.shを保存後、ターミナルから

chmod +x sabun.sh

を実行します。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2