Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yiannistri opened this issue Jun 21, 2021 · 0 comments
Open

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

yiannistri opened this issue Jun 21, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@yiannistri
Copy link
Collaborator

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

@yiannistri yiannistri added the good first issue Good for newcomers label Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant