1GIT-MKTREE(1)                     Git Manual                     GIT-MKTREE(1)
2
3
4

NAME

6       git-mktree - Build a tree-object from ls-tree formatted text
7

SYNOPSIS

9       git mktree [-z] [--missing] [--batch]
10

DESCRIPTION

12       Reads standard input in non-recursive ls-tree output format, and
13       creates a tree object. The order of the tree entries is normalised by
14       mktree so pre-sorting the input is not required. The object name of the
15       tree object built is written to the standard output.
16

OPTIONS

18       -z
19           Read the NUL-terminated ls-tree -z output instead.
20
21       --missing
22           Allow missing objects. The default behaviour (without this option)
23           is to verify that each tree entry’s sha1 identifies an existing
24           object. This option has no effect on the treatment of gitlink
25           entries (aka "submodules") which are always allowed to be missing.
26
27       --batch
28           Allow building of more than one tree object before exiting. Each
29           tree is separated by as single blank line. The final new-line is
30           optional. Note - if the -z option is used, lines are terminated
31           with NUL.
32

AUTHOR

34       Written by Junio C Hamano <gitster@pobox.com[1]>
35

DOCUMENTATION

37       Documentation by Junio C Hamano and the git-list
38       <git@vger.kernel.org[2]>.
39

GIT

41       Part of the git(1) suite
42

NOTES

44        1. gitster@pobox.com
45           mailto:gitster@pobox.com
46
47        2. git@vger.kernel.org
48           mailto:git@vger.kernel.org
49
50
51
52Git 1.7.1                         08/16/2017                     GIT-MKTREE(1)
Impressum