Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Rename master branch to main #195

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 41b1fa7 into playframework:main Feb 6, 2022
@mkurz mkurz deleted the rename_main branch February 6, 2022 19:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant