1、生成新的ssh
ssh-keygen -t rsa -C “your_emall@example.com”
2、关联链接及删除
git remote add origin git@github.com:Sherry666666/janname.git
git remote remove origin
3、当push文件时出现
The authenticity of host ‘github.com (192.30.255.112)’ can’t be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)?
不要回车,一定输yes