打开 git bash

         mkdir ~/.ssh 

  1.   git config --global user.name "username"  
  2.  git config --global user.email "youremail@163.com" 
         3. ssh-keygen -t rsa -C "youremail@example.com"

相关文章: