I'm currently working on 2 projects, which expect that I configure my local username and email with different data when I push to them.
for that I'm updaing my config all the time like:
git config --local user.email "namelastname@domain.com"
Since they are different repositories, is there a way I could define an local email for each repository?
Maybe in the .gitconfig
?