LoginSignup
39
32

More than 5 years have passed since last update.

同一ファイルの異なるコミットの差分を確認する3つの方法

Posted at

Git

$ git diff commit1 commit2 -- path/to/file

gitのコマンドではこれで行ける。

Github

http://github.com/<USER>/<REPO>/compare/[<START>...]<END>

古いコミットを先に書く。

Compare

こんな感じになります。

SourceTree

Cmd押しながら比較したいコミットを2つ選択するだけで差分が出る。便利!

その他の参考記事

39
32
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
39
32