Skip to content

Switch default branch from 'master' to 'main' - #122

Open
adamfootdev wants to merge 1 commit into
JohnSundell:masterfrom
adamfootdev:master
Open

Switch default branch from 'master' to 'main'#122
adamfootdev wants to merge 1 commit into
JohnSundell:masterfrom
adamfootdev:master

Conversation

@adamfootdev

Copy link
Copy Markdown

In line with Xcode and GitHub, I've updated the default branch to use 'main' instead of 'master' for git.

@JohnSundell

Copy link
Copy Markdown
Owner

@adamfootdev As much as I'd love to change the default branch to main, this particular change that you're proposing is quite problematic, since it'll break all publishing workflows for users who haven't specified a branch manually (which I suspect is the vast majority of users). Instead, I think we should turn that branch argument into an optional, and detect whether to use main or master dynamically, to avoid breaking backward compatibility. Let me know if that's something you'd be interested in updating this PR to do, or if you'd like me to work on it.

@JohnSundell JohnSundell added the awaiting update Awaiting an update from the PR author label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting update Awaiting an update from the PR author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants