デプロイ前のログや差分をチェックするgitコマンド
変更したfileの抽出
$ git diff --stat commit-new commit-old $ git diff --stat --name-only commit-new commit-old $ git diff --stat --ignore-blank-lines commit-new commit-old
fileの変更差分
$ git diff commit-old commit-new -- path/to/file
差分を単語単位で色分けで表示する
$ git diff --color-words
gitを見やすく
color
$ git config --global color.ui true
ログチェック
$ git log --graph --decorate --oneline