Switch 'master' to 'main' branch for repositories

· started by Felix · status: closed · result: Accepted

Proposal

More and more projects are switching their repositories to use the ‘main’ branch instead of the ‘master’ branch. This also includes many Linux upstream trees as well. Some trees are even removing their ‘master’ branches already.

I think this is becoming more and more mainstream and expected of projects, so we should do the same.

I would like to propose the following:

  1. Change the git server side to automatically update the ‘master’ branch, whenever an update is pushed to ‘main’. It’s important to have a long transition period in order to avoid breaking downstream users’ workflows.

  2. Change the git server side to refuse a push to ‘master’ if ‘main’ exists. This avoid accidental branch divergence

  3. Developers simply change their git configs to always push to ‘main’

Once this change is well established, we can look into removing ‘master’, but we should definitely take our time with that.

Voting is open until 20. March 2023.

Stats

MembersVotedMissing
38299

Results

MemberVote
Adrian
Alexander
Álvaro
Baptiste
Christian L.
Christian M.🤷
Chuanhong
Daniel
David B.🤷
David W.
Felix
Florian
Hans
Hauke
Imre
Jo-Philipp
John
Jonas
Kevin
Koen
Luka
Mathias
Matthias
Mirko
Paul
Petr
Piotr🤷
Rafał
Rich
Rui
Steven
Stijn
Sungbo🤷
Sander
Ted
Thomas
Yousong
Zoltan
✅ Yes15
❌ No10
🤷 Neutral4