Skip to content

Instantly share code, notes, and snippets.

@overtrue overtrue/.gitconfig
Created Feb 22, 2019

Embed
What would you like to do?
git conditional includes
[includeIf "gitdir:~/www/"]
path = .gitconfig-personal
[includeIf "gitdir:~/work/"]
path = .gitconfig-work
// .gitconfig-personal
[user]
email=xxxx@personal.com
name=xxxx
// .gitconfig-work
[user]
email=xxxx@work.com
name=xxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.