welcome welcome - 2 months ago 7
Git Question

Is there a plumbing command to create tag object?

For every object type there is a related plumbing command: for

commit object
s there is
commit-tree
, for
blob object
s
hash-object
and for
tree object
s
write-tree
.

Is there a plumbing command which allows to just insert the
tag object
inside the
Object Database
without creating a file in the
refs/tags
dicrectory, id est without using
git tag
?

Answer

It's git mktag, which is pretty primitive.