Skip to content

Set default branch name to "main" instead of "master". #19351

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

Closed
twoco opened this issue Apr 8, 2022 · 2 comments · Fixed by #19354
Closed

Set default branch name to "main" instead of "master". #19351

twoco opened this issue Apr 8, 2022 · 2 comments · Fixed by #19354
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@twoco
Copy link

twoco commented Apr 8, 2022

Feature Description

When creating new repos, we should no longer use the word "master" for the branch. Just like GitHub and GitLab now use "main" instead of "master" as the default initial branch name.

https://sfconservancy.org/news/2020/jun/23/gitbranchname/

Screenshots

image
image

@twoco twoco added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Apr 8, 2022
@jolheiser
Copy link
Member

This is already configurable via DEFAULT_BRANCH.

@twoco
Copy link
Author

twoco commented Apr 8, 2022

But set to "master" per default, isn't it? I mean the initial value shipped from this software should be changed. Just a suggestion. But thanks for the hint.

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants