-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Error 500 when recreating a deleted branch #6490
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
Comments
Can you give a link to the https://try.gitea.io repository? Are your creating the branch from the web UI or locally and pushing? |
all is done from the web UI. At https://try.gitea.io/ngourdon/repo1 I can't re-create the branch 1.0 |
I see! I was creating branches from commits, not directly from the dropdown. I will see if I can locate why that would cause an issue. |
The UI says "Deleting a branch is permanent. It CANNOT be undone. Continue?" but clearly after you delete it, it shows up with a strikethrough its name on the branch page and you can undo that delete. |
[x]
):Description
I cannot recreate a deleted branch with the same name in Gitea.
I get error page 500.
Log :
2019/04/02 14:50:38 [...uters/repo/branch.go:235 CreateBranch()] [E] CreateNewBranch: CreateNewBranch: git checkout -b 2.0 1.0: exit status 128 - fatal: A branch named '2.0' already exists.
It seems gitea keeps a cache of the repo.
The text was updated successfully, but these errors were encountered: