Gitea: How to delete branch completely?

Created on 30 Apr 2018  ·  6Comments  ·  Source: go-gitea/gitea

  • Gitea version (or commit ref):1.4.0
  • Operating system: Ubuntu 16.04
  • Database (use [x]):

    • [ ] PostgreSQL

    • [ ] MySQL

    • [ ] MSSQL

    • [x] SQLite

  • Can you reproduce the bug at https://try.gitea.io:

    • [x] Yes (https://try.gitea.io/woodenrobot/branch_test/branches)

    • [ ] No

    • [ ] Not relevant

Description

How to delete branch completely?

Screenshots

image
image

kinquestion

Most helpful comment

As an Admin I could delete it, but I can't restore it :thinking:

Since https://github.com/go-gitea/gitea/pull/2108 we delete branches in a background job (so it can be restored later on). It should be deleted within 24h (by default).

@Bwko You wrote that feature. Is there a way to delete a branch immediately?

All 6 comments

I can see it when I login.Other people can't see it.
is this a feature of gitea?
And is there a way to delete it completely?

When I login:
image

Other people:
image

As an Admin I could delete it, but I can't restore it :thinking:

Since https://github.com/go-gitea/gitea/pull/2108 we delete branches in a background job (so it can be restored later on). It should be deleted within 24h (by default).

@Bwko You wrote that feature. Is there a way to delete a branch immediately?

@bkcsoft Thank you for your information!

I find it.
image

@bkcsoft Nope, I'll look into that

This issue was closed even there was no working solution for the real problem.
I wanted to reuse a name of a deleted branch but didnt found a way to do this. I get an error because of the old branch which used the same name.

Was this page helpful?
0 / 5 - 0 ratings