blob: ba0438e9ad444d3647af192f3483f27a73f8e294 (
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
52
53
54
55
56
57
58
|
git-ls-tree(1)
==============
NAME
----
git-ls-tree - Lists the contents of a tree object.
SYNOPSIS
--------
'git-ls-tree' [-d] [-r] [-z] <tree-ish> [paths...]
DESCRIPTION
-----------
Lists the contents of a tree object, like what "/bin/ls -a" does
in the current working directory.
OPTIONS
-------
<tree-ish>::
Id of a tree-ish.
-d::
show only the named tree entry itself, not its children
-r::
recurse into sub-trees
-z::
\0 line termination on output
paths::
When paths are given, show them. Otherwise implicitly
uses the root level of the tree as the sole path argument.
Output Format
-------------
<mode> SP <type> SP <object> TAB <file>
When `-z` option is not used, TAB, LF, and backslash characters
in pathnames are represented as `\t`, `\n`, and `\\`,
respectively.
Author
------
Written by Linus Torvalds <torvalds@osdl.org>
Completely rewritten from scratch by Junio C Hamano <junkio@cox.net>
Documentation
--------------
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
GIT
---
Part of the gitlink:git[7] suite
|