前提安装了git gui
打开git bash
Please make sure you have the correct access rights and the repository exists.问题解决
1 配置用户名和密码
git config --global user.name “yourname”
git config --global user.email “your@email.com”
2 ssh-keygen -t rsa -C “your@email.com”
重新生成密钥
此处很好的链接
3 重新
git clone git@github.com:EFSD/publicRecongize
4 出现问题:
在git(小乌龟)向github远程推送(push)文件是会报一个异常 no supported authentication methods avaiable
解决方法:因为git(小乌龟)和Git的冲突我们需要把乌龟git设置改正如下。
找到TortoiseGit–》Settings–》Network
将SSH client指向 D:\git\usr\bin\ssh.exe (我的Git工具安装在d盘)
如果进入到文件中
使用:wq退出
进入:中的命令,使用Q退出
就可以愉快的进行pull和push了