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

use main as default branch and git switch instead of checkout closes #256 #259

Merged
merged 4 commits into from
Sep 6, 2023

Conversation

dhanyapushpadas
Copy link
Contributor

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
@@ -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`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Good idea to write-protect the main branch (typically `main`).
- Good idea to write-protect the main branch (typically `main` or `master`).

Copy link
Member

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.

Copy link
Member

@bast bast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@johanhellsvik johanhellsvik merged commit 3490a72 into main Sep 6, 2023
3 checks passed
@johanhellsvik johanhellsvik deleted the rename-master branch September 6, 2023 13:29
@bast
Copy link
Member

bast commented Sep 6, 2023

But my suggestion now got lost ...

@johanhellsvik johanhellsvik restored the rename-master branch September 6, 2023 13:43
@johanhellsvik johanhellsvik deleted the rename-master branch September 6, 2023 13:50
@johanhellsvik
Copy link
Contributor

My mistake. Now implemented in #260

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

Successfully merging this pull request may close these issues.

3 participants