Get git refs matching a prefix
One step with Gitea. We can help you get access.
Look something up
Get git refs matching a prefix
with Gitea · Software Construction Management
Use Gitea: its Gitea Repository API lets you get git refs matching a prefix in a single step (GET /repos/{owner}/{repo}/git/refs/{ref}). capabilities.work can help you get signed up and connected.
- Can I get only the refs matching a given prefix, like heads/feature?
- What SHA does one specific git ref resolve to?
Say it to your AI assistant
- Get the git refs matching {ref} in {owner}/{repo}.
- Resolve reference {ref} in {owner}/{repo} to its SHA.
For your developer
GET /repos/{owner}/{repo}/git/refs/{ref} in Gitea Repository API. Full spec on APIs.io.