Skip to content

pr-git-1533/john-cai/jc/hash-object-documentation-update-v1

From: John Cai <johncai86@gmail.com>

For newer users of Git, the possible values of -t in git-hash-object may
not be apparent. In fact the current verbiage under NAME could
lead one to conclude that git-hash-object(1) can only be used to create
blobs.

Update the verbiage to make it clear the command can be used to write
objects, not just blobs. Also add the possible values for -t.

Signed-off-by: John Cai <johncai86@gmail.com>

Submitted-As: https://lore.kernel.org/git/pull.1533.git.git.1687394795009.gitgitgadget@gmail.com
Assets 2