From 2d722c93b864c2d3c1302b981b11bf05e020eac2 Mon Sep 17 00:00:00 2001 From: Tobias Fendin Date: Mon, 3 Jan 2022 16:13:28 +0100 Subject: [PATCH] Updated Readme.md after review --- Readme.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 38fbc3a..c5bd6d7 100644 --- a/Readme.md +++ b/Readme.md @@ -24,12 +24,11 @@ Interested in contributing? Awesome! Please read [Contributing](CONTRIBUTING.md) before you make a PR, thanks! -## Main branch +## The change of the default 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` +For example, `git config git-extras.default-branch master`