capabilities.work

Delete a branch or tag reference

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

Get something done

Delete a branch or tag reference

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Git API lets you delete a branch or tag reference in a single step (DELETE /repos/{owner}/{repo}/git/refs/{ref}). capabilities.work can help you get signed up and connected.

  • How do I delete a branch through the Git references API?
  • Can I remove a tag ref from a repository without deleting the commit?
Say it to your AI assistant
  • Delete the reference {ref} from {owner}/{repo}.
  • Remove branch ref {ref} in the {repo} repository owned by {owner}.
For your developer

DELETE /repos/{owner}/{repo}/git/refs/{ref} in GitHub v3 REST Git API. Full spec on APIs.io.