Merge branch 'jc/doc-hash-object-types'

Doc update.

* jc/doc-hash-object-types:
  docs: add git hash-object -t option's possible values
maint
Junio C Hamano 2023-07-06 11:54:47 -07:00
commit 1d76e69212
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ git-hash-object(1)


NAME NAME
---- ----
git-hash-object - Compute object ID and optionally creates a blob from a file git-hash-object - Compute object ID and optionally create an object from a file




SYNOPSIS SYNOPSIS
@ -25,7 +25,8 @@ OPTIONS
------- -------


-t <type>:: -t <type>::
Specify the type (default: "blob"). Specify the type of object to be created (default: "blob"). Possible
values are `commit`, `tree`, `blob`, and `tag`.


-w:: -w::
Actually write the object into the object database. Actually write the object into the object database.