Skip to content

How to get Tag instance by tag_name? #543

Description

@hirokith

In the http://www.nodegit.org/api/tag/, I tried to figure out how to get the tag instance through tag name, but it's really very confusing!

In the Tag.list, it just lists the tag names instead of instances, in the Tag.lookup, I need to pass the oid or Tag ??? If I already get the tag instance why would I need to call the Tag.lookup method? That's really confusing!

Besides, the documentations are not very straight, hope to see relative demos in each api documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions