git-mktree
Build a tree-object from ls-tree formatted text
- Provided by: git-man (Version: 1:1.9.1-1ubuntu0.10)
- Source: git
- Report a bug
Build a tree-object from ls-tree formatted text
git mktree [-z] [--missing] [--batch]
Reads standard input in non-recursive ls-tree output format, and creates a tree object. The order of the tree entries is normalised by mktree so pre-sorting the input is not required. The object name of the tree object built is written to the standard output.
-z
--missing
--batch
Part of the git(1) suite