2.生成id_rsa.pub文件
clip < ~/.ssh/id_rsa.pub
3.复制ssh key
4.在github中点左上角头像找到settings,在SSH and GPG keys新建ssh key,将git复制的key粘贴进去
5.验证ssh -T git@github.com
2024-02-01 18:17:28
2.生成id_rsa.pub文件
clip < ~/.ssh/id_rsa.pub
3.复制ssh key
4.在github中点左上角头像找到settings,在SSH and GPG keys新建ssh key,将git复制的key粘贴进去
5.验证ssh -T git@github.com