git write-tree 生成tree对象

可以用git write-tree 为暂存区生成tree对象,以便可以用ls-tree对暂存区进行查看

执行

git write-tree
git ls_tree <git write-tree 的输出>