gitgit-plumbing

Is there a plumbing command to create tag object?


For every object type there is a related plumbing command: for commit objects there is commit-tree, for blob objects hash-object and for tree objects 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?


Solution

  • It's git mktag, which is pretty primitive.