Infinite Wishes: ♾️🧞‍♀️✨

Is a weblog by Emma Humphries

No gods, no master branches

27 Oct 2020

GitHub Screenshot
Credit: Screenshot by the author

I’ve been wanting to change the default branch for some projects on GitHub from master to main but until recently I could only publish GitHub Pages projects from master or a GitHub Pages branch. GitHub recently removed that limitation so you can publish from an arbitrary branch.

Moving your default branch takes a few short steps, which Steven Mortimer from the R community documented.

Don’t forget to go to your project’s options and update the branch you use for GitHub pages.

Json Manystripes encourages you to update your projects.

Photo of Json Manystripes, a grey and brown tabby cat

Replies to this post are welcome. You can send an email, or a WebMention. Be kind, not clever.

Send a WebMention