2005-05-10 23:32:30 +02:00
|
|
|
git-ls-tree(1)
|
|
|
|
==============
|
|
|
|
v0.1, May 2005
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-ls-tree - Displays a tree object in human readable form
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-05-26 19:52:50 +02:00
|
|
|
'git-ls-tree' [-r] [-z] <tree-ish> [paths...]
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2005-05-26 19:52:50 +02:00
|
|
|
paths::
|
|
|
|
Optionally, restrict the output of git-ls-tree to specific
|
|
|
|
paths. Directories will only list their tree blob ids.
|
|
|
|
Implies -r.
|
|
|
|
|
2005-05-10 23:32:30 +02:00
|
|
|
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
|
|
|
|
|