git config: add user.useConfigOnly

This commit is contained in:
Josh Holtrop 2023-07-13 13:54:59 -04:00
parent c71c875e8f
commit ebe988991d

View File

@ -26,6 +26,8 @@ function git-config-joshs()
'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
# Only use configured user.name/user.email; do not guess them
git config --global user.useConfigOnly true
}
function git-config-local-personal()
{