Skip to content

[Feature] [API] Add Endpoint for Branch creation #11376

@DominikPf

Description

@DominikPf

We want to automatically create Dev-Stacks in our Company (new Application, Package, ....)

To create a Repository we want to create the complete basic structure.
The Api of Gitea is already very powerfull, but we also need an Endpoint to create a new Branch.

proposal for: repository

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

Information to create a new branch should be

  • The Name of the new Branch
  • The Name of the Branch the new Branch is based on

I hope i didn't forgot something

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions