Rename default branch #23

Closed
opened 2021-11-05 08:21:03 +01:00 by pranav · 2 comments
Owner

Many projects have changed the branch master to main.
GitHub changed the default brach name from master to main in 2020.

https://blog.jpalardy.com/posts/goodbye-git-master-branch/

Many projects have changed the branch `master` to `main`. GitHub changed the default brach name from `master` to `main` in 2020. <https://blog.jpalardy.com/posts/goodbye-git-master-branch/>
pranav added the
help wanted
question
labels 2021-11-05 08:21:03 +01:00
pranav changed title from Rename default branch to main to Rename default branch 2022-02-03 15:18:00 +01:00
Author
Owner

Before stepping down as maintainer (see #8), I am renaming the default branch to main

Before stepping down as maintainer (see #8), I am renaming the default branch to `main`
Author
Owner

Done.

To update your local clone, do:

git branch -m master main
git branch -u origin/main
git pull

So long!

Done. To update your local clone, do: ``` git branch -m master main git branch -u origin/main git pull ``` So long!
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pranav/pybatmesh#23
No description provided.