git for Windows

下载地址:https://git-scm.com/download/win

打开Git Bash输入 ssh-keygen

打开C:Usershsy.sshid_rsa.pub

在某个git仓库目录下:git config user.email "huangsy13@gmail.com"

git config user.name huangsy13

原文地址:https://www.cnblogs.com/huangshiyu13/p/6239139.html