Skip to content

Instantly share code, notes, and snippets.

@berkgaut
Last active January 29, 2025 09:53
Show Gist options
  • Select an option

  • Save berkgaut/d1e9f6d476639bc1bcfcfb3aba096220 to your computer and use it in GitHub Desktop.

Select an option

Save berkgaut/d1e9f6d476639bc1bcfcfb3aba096220 to your computer and use it in GitHub Desktop.
gitconfig for multiple personalities
## Different configurations for personal, open-source and work projects
[includeIf "gitdir:~/devel/personal/"]
path = .gitconfig-personal
[includeIf "gitdir:~/devel/opensource/"]
path = .gitconfig-personal
[includeIf "gitdir:~/devel/some-company/"]
path = .gitconfig-some-company
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment