Skip to content

Rename primary branch from master to main #1032

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

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

sliverc
Copy link
Member

@sliverc sliverc commented Dec 15, 2021

Description of the Change

This is now the standard naming of git repositories and Django has also moved to main naming.

What needs to be done besides this PR:

  • Update primary branch in GitHub settings
  • Update to main branch in ReadTheDocs
  • Check CodeCov integration

Add more TODOs in case I am missing anything.

For our local setup each of us will need to run the following:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

@sliverc sliverc requested a review from n2ygk December 15, 2021 18:24
@sliverc
Copy link
Member Author

sliverc commented Dec 15, 2021

@n2ygk If you agree with this change simply approve. I will then merge and do all the settings in one go.

Copy link
Contributor

@n2ygk n2ygk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree

@sliverc sliverc merged commit 6bda8f1 into django-json-api:main Dec 15, 2021
@sliverc sliverc deleted the master_to_main branch December 15, 2021 18:37
@sliverc
Copy link
Member Author

sliverc commented Dec 15, 2021

Renamed. Pyup.io should get the primary branch name automatically from GitHub but need to keep an eye on this. A new PyUp PR should arrive during the next week.

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.

2 participants