Git Config

from blog Hugues Blog, | ↗ original
Git can change configuration depending on the directory you're in. By using this feature, you can create a directory structure with context-aware Git configurations. Using includeIf in ~/.gitconfig: [include] path = "~/.config/git/main.gitconfig" [includeIf "gitdir:~/work/companyA/**"] path = "~/.config/git/companyA.gitconfig" [includeIf...