From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/git/git-get-tar-commit-id.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 devdocs/git/git-get-tar-commit-id.html (limited to 'devdocs/git/git-get-tar-commit-id.html') 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 @@ +

git-get-tar-commit-id

Name

git-get-tar-commit-id - Extract commit ID from an archive created using git-archive

Synopsis

git get-tar-commit-id

Description

Read a tar archive created by git archive 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.

If no commit ID is found, git get-tar-commit-id quietly exits with a return code of 1. This can happen if the archive had not been created using git archive or if the first parameter of git archive had been a tree ID instead of a commit ID or tag.

+

+ © 2012–2024 Scott Chacon and others
Licensed under the MIT License.
+ https://git-scm.com/docs/git-get-tar-commit-id +

+
-- cgit v1.2.3