打开git bash,在控制台中输入以下命令。 ssh-keygen -t rsa -C "youremail@example.com"