a113c359c19756786a896002231c6460f8c062c0
1 git-ls-tree(1)
2 ==============
3 v0.1, May 2005
5 NAME
6 ----
7 git-ls-tree - Displays a tree object in human readable form
10 SYNOPSIS
11 --------
12 'git-ls-tree' [-r] [-z] <tree-ish> [paths...]
14 DESCRIPTION
15 -----------
16 Converts the tree object to a human readable (and script processable)
17 form.
19 OPTIONS
20 -------
21 <tree-ish>::
22 Id of a tree.
24 -r::
25 recurse into sub-trees
27 -z::
28 \0 line termination on output
30 paths::
31 Optionally, restrict the output of git-ls-tree to specific
32 paths. Directories will only list their tree blob ids.
33 Implies -r.
35 Output Format
36 -------------
37 <mode>\t <type>\t <object>\t <file>
40 Author
41 ------
42 Written by Linus Torvalds <torvalds@osdl.org>
44 Documentation
45 --------------
46 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
48 GIT
49 ---
50 Part of the link:git.html[git] suite