Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
git/Documentation/git-get-tar-commit-id.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
30 lines (22 sloc)
754 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git-get-tar-commit-id(1) | |
======================== | |
NAME | |
---- | |
git-get-tar-commit-id - Extract commit ID from an archive created using git-archive | |
SYNOPSIS | |
-------- | |
[verse] | |
'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 exists 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. | |
GIT | |
--- | |
Part of the linkgit:git[1] suite |