Rename a branch
One step with Gitea. We can help you get access.
Get something done
Rename a branch
with Gitea · Software Construction Management
Use Gitea: its Gitea Repository API lets you rename a branch in a single step (PATCH /repos/{owner}/{repo}/branches/{branch}). capabilities.work can help you get signed up and connected.
- Can I rename a branch, say from master to main?
- What happens to a branch's name when I rename it through the API?
Say it to your AI assistant
- Rename branch {branch} in {owner}/{repo} to {name}.
- Change the name of {branch} in {owner}/{repo} to {name}.
For your developer
PATCH /repos/{owner}/{repo}/branches/{branch} in Gitea Repository API. Full spec on APIs.io.