Site Tools


.gitconfig Supports Includes

24 Apr 2016

I have this .gitconfig sharing with my team, but I have to remove user section / gpg sign key / github credentials before sending out, I wish there was an option to include options from separate file, and there is! Please see, you can add following to .gitconfig:

    path = ~/.gitconfig.local

Then move all your credentials to .gitconfig.local.

blog/2016/04/24/gitconfig-supports-includes.txt · Last modified: 2020-04-27 by dcai