Skip to content

Instantly share code, notes, and snippets.

@geraldyeo
Created January 10, 2023 01:29
Show Gist options
  • Save geraldyeo/7285243473d83289a7937879ee60bdb6 to your computer and use it in GitHub Desktop.
Save geraldyeo/7285243473d83289a7937879ee60bdb6 to your computer and use it in GitHub Desktop.
Multiple git configs
[includeIf "gitdir:~/Code/Personal/"]
path = ~/Code/Personal/.gitconfig-personal
[includeIf "gitdir:~/Code/Work/"]
path = ~/Code/Work/.gitconfig-work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment