mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: conditional inclusions
This commit is contained in:
@@ -124,3 +124,11 @@
|
||||
gpgSign = true
|
||||
[user]
|
||||
signingKey = 89C324BA
|
||||
|
||||
# Conditional inclusions.
|
||||
[includeIf "hasconfig:remote.*.url:*github.com*/**"]
|
||||
path = relative.gitconfig.github
|
||||
[includeIf "hasconfig:remote.*.url:git@gitlab.com:*/**"]
|
||||
path = ~/.gitconfig.gitlab.ssh
|
||||
[includeIf "gitdir/i:work/"]
|
||||
path = /absolute/gitconfig.work
|
||||
|
||||
Reference in New Issue
Block a user