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
11

DESCRIPTION

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

OPTIONS

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

GIT

35       Part of the git(1) suite
36
37
38
39Git 2.24.1                        12/10/2019                     GIT-MKTREE(1)
Impressum