报错信息:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
报错没有权限。加ssh钥匙。
点击add a new public key,
再点击一下ssh and gpg keys,出现以下界面。
点击generating ssh keys
点击checked for… ,检查是否有key
https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
记得把邮箱改了,在gitbash里写。
一直摁回车。
https://help.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account
不知道哪一步会复制,起个名字。就直接ctrl+v就行了。