File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ layout : post
3+ title : Group Project: Switching from `master` to `main`
4+ date : 2026-03-20
5+ github_username : rwaffen
6+ ---
7+
8+ Hi @everyone ,
9+
10+ we have a lot of repositories, and we want to make sure that we are using inclusive language across all of them.
11+ Also ` main ` is the default branch name on GitHub, so it makes sense to switch to it.
12+ This change can be alot of work, so we thought we let everybody participate in the process and do it together.
13+
14+ If you touch any repository and got some extra time to spend, please switch the default branch to ` main ` and update your local clones accordingly.
15+
16+ <!-- TODO: Can everyone do this or do we need some special rights to do this? -->
17+ If you are a repository maintainer you can switch the default branch in the repository settings on GitHub.
18+
19+ The commands to update your local clone are as follows:
20+
21+ ``` shell
22+ git branch -m master main
23+ git fetch origin
24+ git branch -u origin/main main
25+ git remote set-head origin -a
26+ ```
27+
28+ Thx for your help! If you have any questions, feel free to ask.
29+
30+ Cheers,
31+ @rwaffen
You can’t perform that action at this time.
0 commit comments