Gitea API create new branch missing?

Hello,
I can’t find api to create new branches

present:

GET /repos/{owner}/{repo}/branches/{branch}
DELETE /repos/{owner}/{repo}/branches/{branch}

but no:

POST /repos/{owner}/{repo}/branches/{branch}

is there any other way to create a new branch with the API ?

thanks
Markus

Strange thing:
in my installation (gitea 1.12.4) POST /repos/{owner}/{repo}/branches/{branch} is missing

but in the official docs it is present?

This is a feature from 1.13-dev, we hope to have a release candidate out soon

1 Like