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

Open
wtimme opened this issue Jul 9, 2023 · 2 comments
Open

Rename main branch from master to main #28

wtimme opened this issue Jul 9, 2023 · 2 comments
Labels
housekeeping Meta topics that do touch the app's functionality

Comments

@wtimme
Copy link
Collaborator

wtimme commented Jul 9, 2023

As per title, how about we rename the main branch?

Here's what we would need to do:

  1. Checkout the HEAD of master (git checkout master and git pull)
  2. Create the main branch (git checkout -b main)
  3. Push the new branch (git push -u origin main)
  4. Go to the repository's settings and, under "Default branch", choose main
@Simx72
Copy link

Simx72 commented Oct 22, 2024

Why?

@wtimme
Copy link
Collaborator Author

wtimme commented Oct 22, 2024

I'm glad you asked.

The term main is more inclusive. It's the default on GitHub (cp. this article).

@wtimme wtimme added the housekeeping Meta topics that do touch the app's functionality label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Meta topics that do touch the app's functionality
Projects
None yet
Development

No branches or pull requests

2 participants