git-ls-tree(1) ============== NAME ---- git-ls-tree - Lists the contents of a tree object. SYNOPSIS -------- 'git-ls-tree' [-d] [-r] [-z] [paths...] DESCRIPTION ----------- Lists the contents of a tree object, like what "/bin/ls -a" does in the current working directory. OPTIONS ------- :: Id of a tree-ish. -d:: show only the named tree entry itself, not its children -r:: recurse into sub-trees -z:: \0 line termination on output paths:: When paths are given, show them. Otherwise implicitly uses the root level of the tree as the sole path argument. Output Format ------------- SP SP TAB When `-z` option is not used, TAB, LF, and backslash characters in pathnames are represented as `\t`, `\n`, and `\\`, respectively. Author ------ Written by Linus Torvalds Completely rewritten from scratch by Junio C Hamano Documentation -------------- Documentation by David Greaves, Junio C Hamano and the git-list . GIT --- Part of the gitlink:git[7] suite