How to add the ‘tree’ command to git-bash in Windows?

You could also use "cmd //c tree" to use Windows’ tree


  • Launch cmd with ‘/c’ argument and run tree, then terminate

/C Carries out the command specified by string and then

(extra slash for escaping)

/a use to run with ascii chars in case it doesn’t display right.

Answered in greater detail here:

You may Also Like:

None found

Leave a Comment