Git settings for multiple projects
If you using git, maybe you were set user.name
and user.email
.
But, didn't you set with this construction?
git config --global user.name [your name]
git config --global user.email [your email]
This way is no problem when you develop 1 project. But if you developing over two projects, will use the same name when committing on all projects. Here is how to give setting to each individual project.
git config --local [key] [value]
Of course, the priority is local> global, so if exist a local value, used that; if not, used global.