DEV Community

Discussion on: Using Git with two or more users

Collapse
 
navarroaxel profile image
Axel Navarro

Yeah! You're right, you can set anyone's email in the commits that you make. That's why it's a good idea to sign your contributions with a GPG key like I said here dev.to/cloudx/sign-your-code-31oo.
But your SSH key is associated with a specific GitHub user because it's the way GitHub verifies your access to a private repository or a write (git push) access to a repository, public or private.