Tree And Git Projects

April 27, 2020

Tree prints out directory structures via the terminal.

Install it with

brew install tree

The following will print out files in the current project structure, ignoring files in the .gitignore file.

git ls-tree -r --name-only HEAD | tree --fromfile

Written by Oliver Smit. I love talking about web technologies, good design practices, optimising productivity, and rapid prototyping of projects. Check out my work on Github