diff options
Diffstat (limited to 'devdocs/git/git-get-tar-commit-id.html')
| -rw-r--r-- | devdocs/git/git-get-tar-commit-id.html | 6 |
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"> + © 2012–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> |
