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

Consider init.defaultBranch in git_extra_default_branch, changed default to main #946

Merged
merged 4 commits into from Jan 4, 2022

Conversation

tfendin
Copy link
Contributor

@tfendin tfendin commented Dec 29, 2021

Changed according to issue #943

If the config variable git-extras.default-branch use the value from init.defaultBranch. Also changed the default branch to main.

man/git-extras.md Outdated Show resolved Hide resolved
@spacewander
Copy link
Collaborator

@tfendin
Could you update the README and notice that the default branch is changed to main and the way to configure the default branch?

@tfendin
Copy link
Contributor Author

tfendin commented Dec 31, 2021

@tfendin Could you update the README and notice that the default branch is changed to main and the way to configure the default branch?

@spacewander
Absolutely!
Perhaps we should consider renaming the master branch in this repo to main as well? Seems easy enough https://stevenmortimer.com/5-steps-to-change-github-default-branch-from-master-to-main/

Readme.md Outdated Show resolved Hide resolved
Readme.md Show resolved Hide resolved
Readme.md Outdated Show resolved Hide resolved
@spacewander spacewander merged commit 843b958 into tj:master Jan 4, 2022
@spacewander
Copy link
Collaborator

Merged. Thanks!

@tfendin tfendin deleted the default_branch_logic branch January 4, 2022 16:03
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.

None yet

2 participants