Using multiple git configurations
It is fairly common that you might be contributing to multiple git repositories which make different git configuration necessary. Mine and probably the most common case is that I am using different contributor email addresses for my private and work git repositories. You might also want want to have separate global git ignores or other options that differ in multiple repositories. The way I do it is having one <span style=“font-family: “courier new” , “courier” , monospace;">~/.gitconfig which looks like this: ...