move gitconfig sections around
This commit is contained in:
parent
9a647f866e
commit
b1f22e7f6e
1 changed files with 2 additions and 4 deletions
|
@ -14,7 +14,8 @@
|
|||
pfusch = push --force-with-lease
|
||||
lclone = clone --filter=blob:none
|
||||
addp = add --patch
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[includeIf "hasconfig:remote.*.url:https://github.com:*/**"]
|
||||
path = ~/.gitconfig.github
|
||||
[includeIf "hasconfig:remote.*.url:git@github.com:*/**"]
|
||||
|
@ -23,9 +24,6 @@
|
|||
path = ~/.gitconfig.github
|
||||
[includeIf "hasconfig:remote.*.url:git@gitlab.com:*/**"]
|
||||
path = ~/.gitconfig.github
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[url "ssh://git@github.com/"]
|
||||
pushInsteadOf = https://github.com/
|
||||
[url "ssh://git@gitlab.com/"]
|
||||
|
|
Loading…
Add table
Reference in a new issue