Master / main branch

Hi,
I just created a new repo, noticed, that it created a main branch instead of master.
I know of the political discussion behind, but I want the old behavior back.
Is that possible?

Kind regards.

Yes, you can change the default branch name from ini configuration file.

Thanks, now I found the cheat sheet for app.ini. There the default branch name is still master, also when you create a new repo, the text below talks about master.

However, I set in [repository] DEFAULT_BRANCH = master and it worked.

1 Like