在Github官网注册账号
下载Git
https://gitforwindows.org/
windows (version:Git-2.25.1-64-bit)
参考安装教材:win7环境下Git 2.25.1安装教程
配置Git
GitHub 安装使用
参照文中第三步,输入的命令是指打开Git下在的文件夹,点击git-bash进入命令框
命令运行效果参照git的使用
验证ssh key 是否添加成功
$ ssh -T git@github.com
出现错误
The authenticity of host ‘github.com (…)’ can’t be established.
找到解决办法:
The authenticity of host ‘github.com (13.229.188.59)’ can’t be established.
出现Warning: Permanently added the RSA host key for IP address ‘’ to the list of known host
关于Github遇到"Permanently added the RSA host key for IP address ‘192.30.255.113’ to the list of known hosts."的问题
You’ve successfully authenticated, but GitHub does not provide shell access 。
You’ve successfully authenticated, but GitHub does not provide shell access 。
再试一次步骤