Commit

469a24e

I really like how my workspace structure and git work well together:
$ tree -L 1 ~/Repositories
/Users/jubianchi/Repositories
├── CLAUDE.md
├── git.jubianchi.fr
├── github.com
├── gitlab.com
├── gitlab.local.work.com
└── gitlab.local.work.fr
And then in ~/.gitconfig:
[includeIf "gitdir:/Users/jubianchi/Repositories/gitlab.com/"]
	path = /Users/jubianchi/Repositories/gitlab.com/.gitconfig

[includeIf "gitdir:/Users/jubianchi/Repositories/git.jubianchi.fr/"]
	path = /Users/jubianchi/Repositories/git.jubianchi.fr/.gitconfig

[includeIf "gitdir:/Users/jubianchi/Repositories/gitlab.local.work.com/"]
	path = /Users/jubianchi/Repositories/gitlab.local.work.com/.gitconfig

[includeIf "gitdir:/Users/jubianchi/Repositories/gitlab.local.work.fr/"]
	path = /Users/jubianchi/Repositories/gitlab.local.work.fr/.gitconfig
Easy switching keys, GPG and others configs. This plus CLAUDE.md at each levels to enforce different rules.

commit 469a24e