Web development - Version control - Authentication
How to create two accounts on the same computer for Github commits
Github setup with SSH
Introduction
Github give the option to sign-in and commit codes using SSH. This helps to connect and commit to the github code repositories securely. It allows multiple developer accounts to use same computer to update respective repositories without any conflict. Also, single developer could use the same email to make different accounts and commit signatures. For example the developer could have personal repositories and official repositories using the same email account. This article gives the gist and quick introduction on how to do the same.
SSH setup
Linux
1
Open the terminal
2
Enter the following command to generate a new SSH Key. This uses the email provided as a label.
If your system doesnt support ed25519 algorithm, you could use the rsa algorithm using the following command.