Documentation / git-ls-tree.txton commit Tutorial: do not use 'git resolve'. (067744b)
   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
  41When `-z` option is not used, TAB, LF, and backslash characters
  42in pathnames are represented as `\t`, `\n`, and `\\`,
  43respectively.
  44
  45
  46Author
  47------
  48Written by Linus Torvalds <torvalds@osdl.org>
  49Completely rewritten from scratch by Junio C Hamano <junkio@cox.net>
  50
  51Documentation
  52--------------
  53Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  54
  55GIT
  56---
  57Part of the gitlink:git[7] suite
  58