From eb9ba299aa210514c1d2aade9a5d7a087f32099a Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 13 May 2026 14:58:17 -0400 Subject: [PATCH] git config: change init.defaultBranch to main --- bash_aliases.d/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_aliases.d/git b/bash_aliases.d/git index 766c350..dd3ade0 100644 --- a/bash_aliases.d/git +++ b/bash_aliases.d/git @@ -25,7 +25,7 @@ function git-config-joshs() git config --global mergetool.bc.cmd \ 'git_bcmerge "$LOCAL" "$REMOTE" "$BASE" "$MERGED"' git config --global alias.authors '!git log --pretty="%an" | sort | uniq -c | sort -n' - git config --global init.defaultBranch master + git config --global init.defaultBranch main # Only use configured user.name/user.email; do not guess them git config --global user.useConfigOnly true # Do not automatically mark my branch as tracking the remote branch that I