List branches and tags of a repository
One step with Google Cloud Build. We can help you get access.
Look something up
List branches and tags of a repository
with Google Cloud Build
Use Google Cloud Build: its Cloud Build Projects API lets you list branches and tags of a repository in a single step (GET /v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:fetchGitRefs). capabilities.work can help you get signed up and connected.
- What branches and tags exist in a Cloud Source Repositories repository?
- Can I fetch only tags or only branches for a repository?
Say it to your AI assistant
- List branches and tags of repository {repositoriesId} in connection {connectionsId}, location {locationsId}, project {projectsId}.
- Fetch {refType} refs for {repositoriesId} in {projectsId}/{locationsId}/{connectionsId}.
For your developer
GET /v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:fetchGitRefs in Cloud Build Projects API. Full spec on APIs.io.