summaryrefslogtreecommitdiff
path: root/Documentation/git-ls-tree.txt
blob: a113c359c19756786a896002231c6460f8c062c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
git-ls-tree(1)
==============
v0.1, May 2005

NAME
----
git-ls-tree - Displays a tree object in human readable form


SYNOPSIS
--------
'git-ls-tree' [-r] [-z] <tree-ish> [paths...]

DESCRIPTION
-----------
Converts the tree object to a human readable (and script processable)
form.

OPTIONS
-------
<tree-ish>::
	Id of a tree.

-r::
	recurse into sub-trees

-z::
	\0 line termination on output

paths::
	Optionally, restrict the output of git-ls-tree to specific
	paths. Directories will only list their tree blob ids.
	Implies -r.

Output Format
-------------
        <mode>\t	<type>\t	<object>\t	<file>


Author
------
Written by Linus Torvalds <torvalds@osdl.org>

Documentation
--------------
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the link:git.html[git] suite