Is there a way to change the name of the default branch for new repositories (say, from 'master' to 'main') in Gitea without recompiling?

@noelle im not even sure if thats possible in git.. you can do it at repo creation I think or after.. but I dont think you can do it as a default without setting a custom template... not sure about gitea though.

@freemo Yeah, I've set a custom template in my local git, I was just hoping there was something I could do similarly with Gitea. As for trouble with clients, this is for my personal Gitea installation and I'm the only one who uses it, so I have sole control over what interacts with it. :)

Follow

@noelle fair, that should at least reduce your problems. Though im still not clear on the advantage of it. I guess master is a little more ambiguous than main, but just seems like a lot of work for no gains.

Either way thats the beautiful of computers, you can tweak it however you'd like. Just wish I could be of more help.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.