Easily configure a git repo for multiple git accounts (work, github-public, private project etc)
npm install git-profileWhile the profile file is intended to store commonly changing git repo configs like name/email,
other git config settings should work.
$ cat ~/.gitprofiles
{
"work": {
"user.name": "John Doe",
"user.email": "john@company.com",
"core.editor": "intellij"
},
"github": {
"user.name": "jdoe",
"user.email": "john@gmail.com",
"core.editor": "atom"
}
}