同一主机两个github账号切换使用
可能某些原因,我们需要在公司与个人之间切换相关的开发者账号。如同一台主机两个github账号
此为windows环境
操作步骤如下
首先,创建2组 公私钥
默认用户目录 ~/.ssh
$ ssh-keygen -t ed25519 -C "oneAcc@aa.cc"
Enter file in which to save the key (~/.ssh/id_ed25519):
# 回车, 默认生成 id_ed25519 和 id_ed25519.pub
$ ssh-keygen -t ed25519 -C "testeru@xx.cc"
Enter file in