a 3rd style of matching based on just being in a parent directory would be nice. I use this style for my gpgsign, keys, emails, and author settings being different depending on path:
my global $HOME/.gitconfig
# Global stuff above, targeted changes split out in separate files
[includeIf "gitdir:~/github.com/"]
path = ~/.gitconfig-diginc
[includeIf "gitdir:~/sourceallies/"]
path = ~/.gitconfig-sai
[includeIf "gitdir:~/github.myexampleclient.com/"]
path = ~/.gitconfig-myexampleclient
a 3rd style of matching based on just being in a parent directory would be nice. I use this style for my gpgsign, keys, emails, and author settings being different depending on path:
my global $HOME/.gitconfig