git logはオプションが多くて思い出しにくいので備忘録的に。
各コミットにて変更されたファイルの一覧、その他を見たい場合には"--stat"オプションを指定。git showにも使える。
$ git log --stat commit cf11ea436b55c97372c809005bd198338ce2fc5b Author: satojkovic <satojkovic@gmail.com> Date: Fri Mar 23 01:26:22 2012 +0900 use stats API read_get.pl | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 6fa724e0f7b5b84624b15b4b6f7e8e99d2b74655 Author: satojkovic <satojkovic@gmail.com> Date: Sun Mar 18 03:35:36 2012 +0900 print number of read items read_get.pl | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit aaddfb41c57380cc32dcca6f2d4d5b7ac772c99b Author: satojkovic <satojkovic@gmail.com> Date: Sun Mar 18 02:33:50 2012 +0900 get read items read_get.pl | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-)