git-get-tar-commit-id: add page (#18751)

Signed-off-by: scar027 <shantanupai@hotmail.com>
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Shantanu Pai
2025-10-16 03:00:59 +02:00
committed by GitHub
co-authored by Dylan Managor
parent 738481594d
commit 4ee2c31bf3
+8
View File
@@ -0,0 +1,8 @@
# git get-tar-commit-id
> Extract commit ID from an archive created using `git archive`.
> More information: <https://git-scm.com/docs/git-get-tar-commit-id>.
- Extract commit hash ID or quietly exit with a return code of 1:
`git < {{path/to/archive.tar}} get-tar-commit-id`