Add init.defaultBranch to git config
This commit is contained in:
parent
6fde5d857e
commit
9311a44d70
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user