$ git diff-tree --pretty --root --stat --summary initial commit 444ac553ac7612cc88969031b02b3767fb8a353a Author: A U Thor <author@example.com> Date: Mon Jun 26 00:00:00 2006 +0000 Initial dir/sub | 2 ++ file0 | 3 +++ file2 | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 dir/sub create mode 100644 file0 create mode 100644 file2 $