今天使用git clone 拉取github上面的代码的时候,提示一个警告:Warning: Permanently added ‘github.com,13.250.177.223’ (RSA) to the list of known hosts.
这个错误是由于没有将公钥添加到GitHub上导致的。
于是先生成公钥:ssh-keygen -t rsa -C "github用户名/邮箱”
然后再把生成的公钥添加到github中即可。
Warning: Permanently added ‘github.com,13.250.177.223‘ (RSA) to the list of know
最新推荐文章于 2023-04-23 23:46:44 发布