github使用时遇到的问题(更新)

github连接远程仓库时出现Warning: Permanently added the RSA host key for IP address 'xx.xx.xx.xx' to the list of known hosts.

解决方法:

1. 打开 git bash

2.输入 cd C:

3.输入 cat ~/.ssh/id_rsa.pub

会出现publickey

登录github,点击右上角带黄色的头像-->settings-->(personal settings中的)SSH and GPG keys-->new SSH key-->title自己取名,key中粘贴publickey-->Add SSH key-->成功

 

posted @ 2022-03-08 10:29  木屐呀  阅读(41)  评论(0编辑  收藏  举报
//增加一段JS脚本,为目录生成使用