You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: