pythonqt icon indicating copy to clipboard operation
pythonqt copied to clipboard

Rename master branch to main

Open mrbean-bremen opened this issue 2 years ago • 2 comments

This came up a couple of times, and I personally am so used now to "main" being the default branch, that I constantly get confused. The move itself is effortless, and GitHub provides some guidance as to how to change it locally if the move is done (I have done this a few times).

Please let us know, if you know of a reason not to do this rename, or to postpone it.

mrbean-bremen avatar Nov 03 '23 13:11 mrbean-bremen

The only reason for me (but it is not a huge problem, frankly): some scripts (Dependabot, my own, Yocto/OE, maybe some distros) fetch sources by branch name. Thus, as a general rule: if there are no other reasons to change something, please, do not do it just for fun.

iakov avatar Nov 11 '23 12:11 iakov

Well, there is no really compelling reason for this, other than the reasoning behind the original renaming, and the fact that this is now the git standard for several years and many repos have been switching. I have done the switch for a few repos myself, so far without any problems. And yes, I often get confused calling master main, because I'm now so used to it...

Admittedly, this is not consistent inside the MeVisLab organization either - the two other actively maintained repos use main, while the (currently) inactive ones still use master.

mrbean-bremen avatar Nov 11 '23 19:11 mrbean-bremen