aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-02-22 22:24:09 +1300
committerTom Ryder <tom@sanctum.geek.nz>2021-02-22 22:24:09 +1300
commitac97a2309751b277a5e695dfe59212261270dd9b (patch)
tree7728f41dffb0c7364aac3395844d267870e62e90
parentAdd profile.d stub for cargo (Rust) PATH set (diff)
downloaddotfiles-ac97a2309751b277a5e695dfe59212261270dd9b.tar.gz
dotfiles-ac97a2309751b277a5e695dfe59212261270dd9b.zip
Suppress performative wokeness in new Git
hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name>
-rw-r--r--git/config.mi51
1 files changed, 1 insertions, 0 deletions
diff --git a/git/config.mi5 b/git/config.mi5
index 304be811..8456cc74 100644
--- a/git/config.mi5
+++ b/git/config.mi5
@@ -8,6 +8,7 @@
output = compact
[init]
+ defaultBranch = master
templateDir = <% XDG_CONFIG_HOME %>/git/template
[log]