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

[Dev] use "main" branch as the default branch #1274

Closed
2 tasks done
lisphilar opened this issue Oct 10, 2022 · 1 comment · Fixed by #1275
Closed
2 tasks done

[Dev] use "main" branch as the default branch #1274

lisphilar opened this issue Oct 10, 2022 · 1 comment · Fixed by #1275
Labels
brainstorming Discussion to get creative ideas development Add tests or refactoring

Comments

@lisphilar
Copy link
Owner

Checkbox

Issues of the current workflow

"main" branch is not used as the default branch.

Action items

Use "main" branch as the default branch.

Additional Context

No response

@lisphilar lisphilar added brainstorming Discussion to get creative ideas development Add tests or refactoring labels Oct 10, 2022
@lisphilar lisphilar added this to the Release v3.0.0 milestone Oct 10, 2022
@lisphilar
Copy link
Owner Author

  1. Rename the "master" branch to "main" branch and select "change default branch".
    https://github.com/lisphilar/covid19-sir/branches

  2. Run the command in local environmant.

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
  1. Update .github/workflows/**.yml to use "main" branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorming Discussion to get creative ideas development Add tests or refactoring
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant