1 下载 https://git-for-windows.github.io/ 并安装
2 下载 https://tortoisegit.org/download/并安装(注意:选择based on PuTTY)
3 生成公私钥(私钥自己留着,公钥给源代码管理端), 得到两个pub, pri两个密钥文件 。
ssh-keygen.exe -t rsa -C "[email protected]"
4 打开TortoiseGit中的PuTTY Key Generator 将 pri 生成 pri.ppk
5 使用TortiseGit 的 Pageant Key List 选择 pri.ppk 导入密钥
5 使用Git Clone 克隆源代码库