Skip to content

Commit class does not expose the branches-where-head endpoint #1145

Open

Description

@tip2tail

It is sometimes required to identify any branches of which a given commit ID is a member of.

GitHub API provides such a method as documented here: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-branches-for-head-commit

Propose adding a new member function branchesWhereHead() to the Commit object to expose this

Activity

  1. tip2tail commented on Oct 1, 2024

    @tip2tail
    Author

    Note - I intend to develop this and will submit a PR in due course

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