在git安装目录 bin文件夹下 点击bash.exe输入ssh-keygen -t rsa -C git账号打开生成的id_rsa.pub(一般在C盘用户下面的.ssh文件夹中) 复制到git网站ssh配置内