1GIT-GET-TAR-COMMI(1)              Git Manual              GIT-GET-TAR-COMMI(1)
2
3
4

NAME

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

SYNOPSIS

10       git get-tar-commit-id
11
12

DESCRIPTION

14       Read a tar archive created by git archive from the standard input and
15       extract the commit ID stored in it. It reads only the first 1024 bytes
16       of input, thus its runtime is not influenced by the size of the tar
17       archive very much.
18
19       If no commit ID is found, git get-tar-commit-id quietly exists with a
20       return code of 1. This can happen if the archive had not been created
21       using git archive or if the first parameter of git archive had been a
22       tree ID instead of a commit ID or tag.
23

GIT

25       Part of the git(1) suite
26
27
28
29Git 2.21.0                        02/24/2019              GIT-GET-TAR-COMMI(1)
Impressum