mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
![Johannes Schindelin](/assets/img/avatar_default.png)
[jc: Johannes spent time and effort to see how consistent our use of terminilogy is, and as a byproduct made these corrections not related to the terminology unification. I really appreciate it.] Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
56 lines
979 B
Plaintext
56 lines
979 B
Plaintext
git-ls-tree(1)
|
|
==============
|
|
v0.1, May 2005
|
|
|
|
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>
|
|
|
|
|
|
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 link:git.html[git] suite
|
|
|