Delete Pull Request Branch after merge by default as global config #13863

Open
opened 2025-11-02 10:55:27 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @wienans on GitHub (Dec 20, 2024).

Feature Description

Hi guys,

we want to maintain a clean origin branch structure and devs often forget to delete the origin branch after pull request ist merged.
I found the repo option "Delete Pull Request Branch after merge by default" in the Repo but either it is not possible or i couldn't find it in the Configuration Cheat Sheet. It would be nice to have that option under repository.pull-request so it can be globally controlled as default option. https://docs.gitea.com/next/administration/config-cheat-sheet#repository---pull-request-repositorypull-request

Screenshots

No response

Originally created by @wienans on GitHub (Dec 20, 2024). ### Feature Description Hi guys, we want to maintain a clean origin branch structure and devs often forget to delete the origin branch after pull request ist merged. I found the repo option "Delete Pull Request Branch after merge by default" in the Repo but either it is not possible or i couldn't find it in the Configuration Cheat Sheet. It would be nice to have that option under repository.pull-request so it can be globally controlled as default option. https://docs.gitea.com/next/administration/config-cheat-sheet#repository---pull-request-repositorypull-request ### Screenshots _No response_
GiteaMirror added the topic/prtype/proposal labels 2025-11-02 10:55:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13863