DEV Community

Discussion on: 10+ things I always setup in git when I prepare a new environment

Collapse
 
francoislp profile image
François

Hey :) Great post, thanks for sharing!

How would you deal with 2 git emails on the same laptop?
one for github (perso) and one for work (pro)

The best would be to default to the email perso (and the associated GPG key), and when working from ~/Projects, always use the work email
Not sure if it is feasible ^^

Collapse
 
snaka profile image
Shinji NAKAMATSU

Perhaps you can.
I wrote an article about it, please check it out.

dev.to/snaka/use-a-different-git-c...