From 777fcade173d805b1dfe4dcaf6e3fa7576b854ee Mon Sep 17 00:00:00 2001 From: Tobias Fendin Date: Sat, 1 Jan 2022 12:34:22 +0100 Subject: [PATCH] Added section about main branch to the Readme file --- Readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Readme.md b/Readme.md index eea4872..38fbc3a 100644 --- a/Readme.md +++ b/Readme.md @@ -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`