Skip to content

Instantly share code, notes, and snippets.

@jeffhung
Created October 7, 2019 10:18
Customize Git Configurations by Folders
# See: https://git-scm.com/docs/git-config#_conditional_includes
[includeIf "gitdir:~/company/works/"]
path = ~/company/works/gitconfig
[includeIf "gitdir:~/personal/works/"]
path = ~/personal/works/gitconfig
[user]
name = Your Name
email = your_name@your-name.org
[github]
user = your-username
token = your-github-token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment