I really like how my workspace structure and git work well together:
And then in
Easy switching keys, GPG and others configs. This plus
$ tree -L 1 ~/Repositories /Users/jubianchi/Repositories ├── CLAUDE.md ├── git.jubianchi.fr ├── github.com ├── gitlab.com ├── gitlab.local.work.com └── gitlab.local.work.fr
~/.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
CLAUDE.md at each levels to enforce different rules.commit 469a24e