Compare commits

...

2 commits

Author SHA1 Message Date
b1f22e7f6e move gitconfig sections around 2025-03-21 16:46:35 +01:00
9a647f866e gitconfig pushInsteadOf 2025-03-21 16:46:00 +01:00

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,5 +24,7 @@
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/"]
pushInsteadOf = https://gitlab.com/