Skip to content

Request the creating branch API support commitish #16208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 tasks
lchrennew opened this issue Jun 19, 2021 · 1 comment
Closed
5 tasks

Request the creating branch API support commitish #16208

lchrennew opened this issue Jun 19, 2021 · 1 comment
Labels
modifies/api This PR adds API routes or modifies them type/enhancement An improvement of existing functionality

Comments

@lchrennew
Copy link

  • Gitea version (or commit ref): 1.14.2
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • [*] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

Current API POST /repos​/{owner}​/{repo}​/branches (Create a branch) only support create a branch from another branch.

I need this API supports more:

  • Create a branch based on a tag.
  • Create a branch based on a commit.

Screenshots

@6543 6543 added this to the 1.16.0 milestone Jun 19, 2021
@6543 6543 added modifies/api This PR adds API routes or modifies them type/enhancement An improvement of existing functionality labels Jun 19, 2021
@lunny lunny removed this from the 1.16.0 milestone Nov 9, 2021
@richmahn
Copy link
Contributor

This is covered in the request for the git/refs create reference endpoint as mentioned here: #11835

@lunny lunny closed this as completed Aug 16, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
modifies/api This PR adds API routes or modifies them type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

4 participants