git mktree
Build a tree object using
ls-treeformatted text. More information: https://git-scm.com/docs/git-mktree.
- Build a tree object and verify that each tree entry's hash identifies an existing object:
git mktree
- Allow missing objects:
git mktree --missing
- Read the NUL ([z]ero character) terminated output of the tree object (
git ls-tree -z):
git mktree -z
- Allow the creation of multiple tree objects:
git mktree --batch
- Sort and build a tree from
stdin(non-recursivegit ls-treeoutput format is required):
git < mktree
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
