summaryrefslogtreecommitdiff
path: root/devdocs/git/git-mktree.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/git/git-mktree.html
new repository
Diffstat (limited to 'devdocs/git/git-mktree.html')
-rw-r--r--devdocs/git/git-mktree.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/git/git-mktree.html b/devdocs/git/git-mktree.html
new file mode 100644
index 00000000..6fedd906
--- /dev/null
+++ b/devdocs/git/git-mktree.html
@@ -0,0 +1,6 @@
+<h1>git-mktree</h1> <h2 id="_name">Name</h2> <div class="sectionbody"> <p>git-mktree - Build a tree-object from ls-tree formatted text</p> </div> <h2 id="_synopsis">Synopsis</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content" data-language="shell">git mktree [-z] [--missing] [--batch]</pre> </div> </div> <h2 id="_description">Description</h2> <div class="sectionbody"> <p>Reads standard input in non-recursive <code>ls-tree</code> output format, and creates a tree object. The order of the tree entries is normalized by mktree so pre-sorting the input is not required. The object name of the tree object built is written to the standard output.</p> </div> <h2 id="_options">Options</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git-mktree.txt--z"> -z </dt> <dd> <p>Read the NUL-terminated <code>ls-tree -z</code> output instead.</p> </dd> <dt class="hdlist1" id="Documentation/git-mktree.txt---missing"> --missing </dt> <dd> <p>Allow missing objects. The default behaviour (without this option) is to verify that each tree entry’s hash identifies an existing object. This option has no effect on the treatment of gitlink entries (aka "submodules") which are always allowed to be missing.</p> </dd> <dt class="hdlist1" id="Documentation/git-mktree.txt---batch"> --batch </dt> <dd> <p>Allow building of more than one tree object before exiting. Each tree is separated by a single blank line. The final newline is optional. Note - if the <code>-z</code> option is used, lines are terminated with NUL.</p> </dd> </dl> </div> </div><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2012&ndash;2024 Scott Chacon and others<br>Licensed under the MIT License.<br>
+ <a href="https://git-scm.com/docs/git-mktree" class="_attribution-link">https://git-scm.com/docs/git-mktree</a>
+ </p>
+</div>