Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Lộc minhloc2011

🎯
Focusing
View GitHub Profile
View Multiple git accounts.md

Ở đây ví dụ mình có 2 accounts: 1 cho company, 1 cho mình. Thì mình sẽ config trong .ssh/config như thế này:

#Company account (AT account)
Host github.com
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa

#My account (ngot-nuoc account)