Added section about main branch to the Readme file

This commit is contained in:
Tobias Fendin 2022-01-01 12:34:22 +01:00
parent edffba3c2a
commit 777fcade17

View file

@ -23,3 +23,13 @@ __GIT utilities__ -- repo summary, repl, changelog population, author commit per
Interested in contributing? Awesome!
Please read [Contributing](CONTRIBUTING.md) before you make a PR, thanks!
## Main branch
As of Git Extras 6.4 the assumed default branch name changed from `master` to `main`.
This affects the Git Extras commands `git archive-file`, `git delete-merged-branches`, `git delta`, `git pull-request`, `git show-merged-branches`, `git show-unmerged-branches` and `git squash`.
To change the default branch name to `master`: change either the configuration `git-extras.default-branch` or `init.defaultBranch` to `master`, the former takes precedence.
`git config git-extras.default-branch master`