change master to main
Closed this issue · 5 comments
Janekdererste commented
it's 2023
paulheinr commented
I'm not able to do so because I can't change the settings. But here is an instruction how to change it: https://gist.github.com/danieldogeanu/739f88ea5312aaa23180e162e3ae89ab
Janekdererste commented
I would have just branched off a main branch, changed all the protection and ci rules to main and then deleted the master branch.
paulheinr commented
Yes, that's essentially what the instruction recommends, but I'm not allowed to change the protection and delete the master branch 🙃 I just wanted to inform you that I can't take that issue
Janekdererste commented
Ah, I see. I will take care of it.
Janekdererste commented
So, I did the following things
- Create Branch
main
- Set Ci-Rules to
main
- Make
main
default branch of the github repo - Make
main
protected branch and rquire PR with passing build before merging - Change all (2) PRs to be merged into
main
- Delete old branches includeing
master
Locally:
- Delete all branches exept
main
- Give it a star in Clion to mark it special
I think, this is done.