go-gitea/gitea

Create branch via API, error says the old branch doesn't exists

Closed this issue · 4 comments

Description

Gitea Version: 1.24.3
Trying to create new branches with git tags or tags commit SHA but couldn't able to create the branch, error says, the old branch doesn't exists. Tried curl and swagger had the same error. Anybody have any idea about it. Need to create multiple branches per repos. The said repo is forked repo not an normal one.

Gitea Version

1.24.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Running on kubernetes from the official image

Database

PostgreSQL

Could you provide more details?

Image Swagger Response same 404 recevied on local api response.

Image

Same commit exist on the repo

You need a token to call this API.

Image

Issue got resolved after updating to 1.24.6