Skip to content

Implement getting the HEAD for a ref in a branch/tag #84

Open
@yiannistri

Description

@yiannistri

Currently there is no way to get the HEAD for a ref in a branch/tag without first requesting the list of recent commits. Although this approach works, there are endpoints that will return that info directly.

GitHub: https://docs.github.com/en/rest/reference/git#get-a-reference
GitLab: https://docs.gitlab.com/ee/api/commits.html#get-a-single-commit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions