You need to edit the following file using notepad and run as admin
C:\Windows\System32\drivers\etc\hosts
If you edit subsystem linux's /etc/hosts, it will not affect browser such as Google Chrome
You need to edit the following file using notepad and run as admin
C:\Windows\System32\drivers\etc\hosts
If you edit subsystem linux's /etc/hosts, it will not affect browser such as Google Chrome
Assume you already can access your person github repositories using public key id_rsa.pub
# file name: ~/.ssh/id_rsa2
ssh-keygen
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
AddKeysToAgent yes
ServerAliveInterval 60
ServerAliveCountMax 30
# Work GitHub account
Host github-work
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa2
AddKeysToAgent yes
ServerAliveInterval 60
ServerAliveCountMax 30
git clone git@github-work:mycompany/jackt.git