问题
新开的服务器,第一次安装git,使用git clone 出现报错
解决
- 根据这两个链接
https://blog.csdn.net/qq_41999617/article/details/83691324
https://blog.csdn.net/one__tiger/article/details/107812760
ssh-keygen -t rsa -C '2508266394@qq.com'
查看密钥
cat ~/.ssh/id_rsa.pub
然后去github去添加密钥