git config: add user.useConfigOnly
This commit is contained in:
parent
c71c875e8f
commit
ebe988991d
@ -26,6 +26,8 @@ function git-config-joshs()
|
|||||||
'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
|
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()
|
function git-config-local-personal()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user