Default branch name option in settings #9800

Closed
opened 2025-11-02 08:49:59 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @jtbx on GitHub (Nov 7, 2022).

Feature Description

When creating a new repository, it uses the instance's default branch name. I think there should be an option in the settings menu to choose the default branch name that gets used each and every time you create a repository, similar to how it works in GitHub.

Screenshots

Default branch name setting in GitHub

Originally created by @jtbx on GitHub (Nov 7, 2022). ### Feature Description When creating a new repository, it uses the instance's default branch name. I think there should be an option in the settings menu to choose the default branch name that gets used each and every time you create a repository, similar to how it works in GitHub. ### Screenshots ![Default branch name setting in GitHub](https://i.ibb.co/FkrRNkW/Screenshot-20221108-111015.png)
GiteaMirror added the issue/not-a-bug label 2025-11-02 08:49:59 -06:00
Author
Owner

@lunny commented on GitHub (Nov 8, 2022):

You can do it in repository settings, branches

@lunny commented on GitHub (Nov 8, 2022): You can do it in repository settings, branches
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9800