Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename master branch to main #194

Merged
merged 1 commit into from
Feb 6, 2022
Merged

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Feb 5, 2022

@SethTisue and @ihostage already renamed the master branch in some play repos:

Now that we are centralising configs in the .github repo it's a good idea that all repos have the same default branch name.

To change to main locally (if the remote to this repo is called upstream):

git branch -m master main # rename master to main (actually "move")
git fetch upstream
git branch -u upstream/main main # set upstream
git remote set-head upstream -a # make sure HEAD is set correctly for this remote (autodetect)

@mkurz mkurz merged commit acefa4d into playframework:main Feb 6, 2022
@mkurz mkurz deleted the rename_main branch February 6, 2022 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant