誰がいつ変更したか調べる- git blame
各行の最終変更者とコミット情報を表示します。
概念図
構文
bash
git blame [options] [<rev>] [--] <file>使用例
基本的な blame 表示
bash
git blame file.txt行範囲を指定して表示
bash
git blame -L 10,20 file.txtメールアドレス付きで表示
bash
git blame -e file.txt空白の変更を無視
bash
git blame -w file.txt