git config: add user.useConfigOnly

This commit is contained in:
josh committed 2023-07-13 13:54:59 -04:00
1 parent c71c875e8f
commit ebe988991d
1 file changed
+2
+2
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()
{