summaryrefslogtreecommitdiff
path: root/devdocs/git/git-get-tar-commit-id.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-get-tar-commit-id.html
new repository
Diffstat (limited to 'devdocs/git/git-get-tar-commit-id.html')
-rw-r--r--devdocs/git/git-get-tar-commit-id.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/git/git-get-tar-commit-id.html b/devdocs/git/git-get-tar-commit-id.html
new file mode 100644
index 00000000..2a6f8a56
--- /dev/null
+++ b/devdocs/git/git-get-tar-commit-id.html
@@ -0,0 +1,6 @@
+<h1>git-get-tar-commit-id</h1> <h2 id="_name">Name</h2> <div class="sectionbody"> <p>git-get-tar-commit-id - Extract commit ID from an archive created using git-archive</p> </div> <h2 id="_synopsis">Synopsis</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content" data-language="shell">git get-tar-commit-id</pre> </div> </div> <h2 id="_description">Description</h2> <div class="sectionbody"> <p>Read a tar archive created by <code>git archive</code> from the standard input and extract the commit ID stored in it. It reads only the first 1024 bytes of input, thus its runtime is not influenced by the size of the tar archive very much.</p> <p>If no commit ID is found, <code>git get-tar-commit-id</code> quietly exits with a return code of 1. This can happen if the archive had not been created using <code>git archive</code> or if the first parameter of <code>git archive</code> had been a tree ID instead of a commit ID or tag.</p> </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-get-tar-commit-id" class="_attribution-link">https://git-scm.com/docs/git-get-tar-commit-id</a>
+ </p>
+</div>