1git-ls-tree(1) 2============== 3 4NAME 5---- 6git-ls-tree - Lists the contents of a tree object. 7 8 9SYNOPSIS 10-------- 11'git-ls-tree' [-d] [-r] [-z] <tree-ish> [paths...] 12 13DESCRIPTION 14----------- 15Lists the contents of a tree object, like what "/bin/ls -a" does 16in the current working directory. 17 18OPTIONS 19------- 20<tree-ish>:: 21 Id of a tree-ish. 22 23-d:: 24 show only the named tree entry itself, not its children 25 26-r:: 27 recurse into sub-trees 28 29-z:: 30 \0 line termination on output 31 32paths:: 33 When paths are given, show them. Otherwise implicitly 34 uses the root level of the tree as the sole path argument. 35 36 37Output Format 38------------- 39 <mode> SP <type> SP <object> TAB <file> 40 41 42Author 43------ 44Written by Linus Torvalds <torvalds@osdl.org> 45Completely rewritten from scratch by Junio C Hamano <junkio@cox.net> 46 47Documentation 48-------------- 49Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. 50 51GIT 52--- 53Part of the gitlink:git[7] suite 54