打开git bash 执行以下命令
git config --global user.name 用户名 git config --global user.email 邮箱 ssh-keygen -t rsa