From dd08d9c2b842b5972a90ce8ae9cbae6cc797bf39 Mon Sep 17 00:00:00 2001 From: Jumace Date: Wed, 14 Apr 2021 12:04:09 +0200 Subject: [PATCH] add command to configure name of default branch --- src/data/secondary-options.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/data/secondary-options.js b/src/data/secondary-options.js index 9bf9e10..fdc6321 100644 --- a/src/data/secondary-options.js +++ b/src/data/secondary-options.js @@ -39,6 +39,12 @@ export const secondaryOptions = { label: 'default merge tool', usage: 'git config --global merge.tool "meld"', nb: 'Set default merge tool to meld.' + }, + { + value: 'default-branch-name', + label: 'default branch name', + usage: 'git config --global init.defaultBranch ', + nb: 'Set default name for inital branch of new projects. (needs git 2.2.8 or later)' }, { value: 'color',