Skip to content

tree (CLI)

Generate the tree from other programs

If you have a list of files from e.g. find or git diff --name-only, you can turn it into a tree with --fromfile.

sh
git diff --name-only <sha1> <sha2> | tree --fromfile

This work is licensed under CC BY-NC-ND 4.0