step01. 生成ssh-key, 于gitbash中执行 ssh-keygen 并一路回车--使用默认路径等信息

 

 step02. 打开刚才所使用的默认路径中的id_rsa.pub**文件

 Step03. 将id_rsa即sshKey添加到gitSetting中

 

如果是GetLab:

 

 

如果是某厂: