1.http://git-scm.com/download/ 下载Git,Windows安装一路默认即可
2. 安装之后,配置参数
git config --global user.name "Your Name" git config --global user.email "email@example.com" git config --global core.editor "vim"
3.生成公钥和私钥
ssh-keygen -t rsa -C "email@example.com"
4.查看公钥和私钥
、
5.登录https://github.com,Add SSH Key
6.测试是否连接成功
ssh git@github.com