a113c359c19756786a896002231c6460f8c062c0
[git.git] / Documentation / git-ls-tree.txt
1 git-ls-tree(1)
2 ==============
3 v0.1, May 2005
4
5 NAME
6 ----
7 git-ls-tree - Displays a tree object in human readable form
8
9
10 SYNOPSIS
11 --------
12 'git-ls-tree' [-r] [-z] <tree-ish> [paths...]
13
14 DESCRIPTION
15 -----------
16 Converts the tree object to a human readable (and script processable)
17 form.
18
19 OPTIONS
20 -------
21 <tree-ish>::
22         Id of a tree.
23
24 -r::
25         recurse into sub-trees
26
27 -z::
28         \0 line termination on output
29
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.
34
35 Output Format
36 -------------
37         <mode>\t        <type>\t        <object>\t      <file>
38
39
40 Author
41 ------
42 Written by Linus Torvalds <torvalds@osdl.org>
43
44 Documentation
45 --------------
46 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
47
48 GIT
49 ---
50 Part of the link:git.html[git] suite
51