DEV Community

Discussion on: How I do Git version control - locally (List of commands)

Collapse
 
jpchateau profile image
Jean-Philippe Chateau

I use my personnal email and name that I configure globally on my device (git config --global -e), and when I work on my clients' projects, I configure git to use my professionnal email and name (git config -e) on each project. Of course, I use the same public ssh key on all my accounts (github, gitlab, bitbucket).
If I have to use different ssh keys, then I use an ssh config file (or if I want to ease some server connections too).