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

Open
dondi opened this issue Jan 15, 2025 · 4 comments
Open

Rename master to main #1162

dondi opened this issue Jan 15, 2025 · 4 comments

Comments

@dondi
Copy link
Owner

dondi commented Jan 15, 2025

In keeping with the latest repository convention (and thanks to a recently-added ability to rename the branch easily), we can sync up our repo to the newest convention where master is called main

@dondi
Copy link
Owner Author

dondi commented Jan 29, 2025

The master branch was renamed to main during the 1/29 meeting, and most of the team was able to perform the local commands successfully. @Amelie1253 discovered that something was off on her local clone (detached head) and was unable to do the commands; @MilkaZek was not available. So for reference, here are the commands to perform:

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

@Amelie1253 will seek to clone a fresh copy and transfer existing work, plus monitor if the problem reoccurs

@dondi
Copy link
Owner Author

dondi commented Jan 29, 2025

@dondi will update the wiki to rename references to master into main

@Amelie1253
Copy link
Collaborator

I have cloned a fresh copy, everything is working, and I see previously named master branch is named main now.

@MilkaZek
Copy link
Collaborator

I was able to rename the master branch to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants