$ git diff-tree --pretty --root --summary initial commit 444ac553ac7612cc88969031b02b3767fb8a353a Author: A U Thor <author@example.com> Date: Mon Jun 26 00:00:00 2006 +0000 Initial create mode 100644 dir/sub create mode 100644 file0 create mode 100644 file2 $