Skip to content

Instantly share code, notes, and snippets.

View Shuai-Xin's full-sized avatar
❤️
being cute

ShuaiXin Shuai-Xin

❤️
being cute
View GitHub Profile
#chorus
———————+———————+———————+———————
Cm D Gm Gm/F
小船靜靜往返  馬諦斯的海岸
Cm/Eb A Dsus4 D
星空下的夜晚  交給梵谷點燃
Cm D Gm Gm/F
夢美的太短暫  孟克橋上吶喊
Cm/Eb D Gm
這世上的熱鬧  出自孤單
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active November 18, 2024 19:17
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.