-
Notifications
You must be signed in to change notification settings - Fork 41
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
use main as default branch and git switch instead of checkout closes #256 #259
Conversation
Using git switch instead of git checkout and use main for default main branch instead of master on centralized workflow
use git switch instead of git checkout and use main for default branch instead of master but figures are not changed on distributed workflow
…heckout on reference page
@@ -40,7 +40,7 @@ Features: | |||
- Typically all developers have both read and write permissions (double-headed arrows). | |||
- Suited for cases where **all developers are in the same group or organization or project**. | |||
- **Everybody who wants to contribute needs write access**. | |||
- Good idea to write-protect the main branch (typically `master` or `main`). | |||
- Good idea to write-protect the main branch (typically `main`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Good idea to write-protect the main branch (typically `main`). | |
- Good idea to write-protect the main branch (typically `main` or `master`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case I would leave both. master
is used in many repositories and it might take another decade until this changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
But my suggestion now got lost ... |
My mistake. Now implemented in #260 |
FYI @johanhellsvik