capabilities.work

Find branches whose tip is a commit

One step with GitHub. We can help you get access.

Look something up

Find branches whose tip is a commit

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Repos API lets you find branches whose tip is a commit in a single step (GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head). capabilities.work can help you get signed up and connected.

  • Which branches currently have this commit as their latest commit?
  • Can I find out if a commit is the HEAD of any branch?
Say it to your AI assistant
  • List branches whose HEAD is commit {commit_sha} in {owner}/{repo}.
  • Find which branches of {owner}/{repo} point at {commit_sha}.
For your developer

GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head in GitHub v3 REST Repos API. Full spec on APIs.io.