git diff
$ git diff <commit1> <commit2>
$ git diff <commit1>..<commit2>
$ git diff <commit1>...<commit2>
..
git diff <commit1> <commit2> と git diff <commit1>..<commit2> は同等
指定した2つのコミット同士の差分を表示
https://gyazo.com/8f251125062b4c99f15e078dff488dc3
$ git diff <commit1>...<commit2>
マージベース(2つのコミットの分岐点)との差分
alias prdiff="git diff staging...$(git branch --show-current)" でお手軽にPRと同等の差分をローカルで表示できる
https://gyazo.com/31cf54725726ef2de837cd3eefd5b793