Add init.defaultBranch to git config

This commit is contained in:
Josh Holtrop 2021-12-04 18:57:54 -05:00
parent 6fde5d857e
commit 9311a44d70

View File

@ -25,6 +25,7 @@ function git-config-joshs()
git config --global mergetool.bc.cmd \ git config --global mergetool.bc.cmd \
'git_bcmerge "$LOCAL" "$REMOTE" "$BASE" "$MERGED"' 'git_bcmerge "$LOCAL" "$REMOTE" "$BASE" "$MERGED"'
git config --global alias.authors '!git log --pretty="%an" | sort | uniq -c | sort -n' git config --global alias.authors '!git log --pretty="%an" | sort | uniq -c | sort -n'
git config --global init.defaultBranch master
} }
function git-config-local-personal() function git-config-local-personal()
{ {