Skip to content

target ​

Get the tagged object of a tag.

This method performs a repository lookup for the given object and returns it.

Signature ​

ts
class Tag {
  target(): GitObject;
}

Returns ​

  • GitObject

    Tagged git object of a tag.

Released under the MIT License.