mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-29 18:05:30 +08:00
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:
co-authored by
Dylan
Managor
parent
738481594d
commit
4ee2c31bf3
@@ -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`
|
||||
Reference in New Issue
Block a user