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 branch master to main #573

Closed
1 of 5 tasks
csarven opened this issue Dec 27, 2023 · 2 comments
Closed
1 of 5 tasks

Rename branch master to main #573

csarven opened this issue Dec 27, 2023 · 2 comments

Comments

@csarven
Copy link
Member

csarven commented Dec 27, 2023

Please Indicate One:

  • Editorial
  • Question
  • Feedback
  • Blocking Issue
  • Non-Blocking Issue

Please Describe the Issue:

@steve-bate
Copy link

+1 although I think this will break any existing forked repositories.

@evanp
Copy link
Collaborator

evanp commented Jan 10, 2024

We're following best practices for Git repositories to take the divisive term master out of the default branch, and instead use main. GitHub describes how this has worked for other repositories here:

https://github.com/github/renaming

This is the default for new repositories, and over time systems will be depending on the default branch being main, so we should catch up.

For those with a clone of the AS2 repo, you'll need to do these steps to upgrade:

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

@evanp evanp closed this as completed Jan 10, 2024
@evanp evanp pinned this issue Jan 10, 2024
@evanp evanp unpinned this issue Feb 16, 2024
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

No branches or pull requests

3 participants