move gitconfig sections around

This commit is contained in:
deneb 2025-03-21 16:46:35 +01:00
parent 9a647f866e
commit b1f22e7f6e

View file

@ -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/"]