秘钥的git生成命令
2018-08-20 本文已影响20人
谢尔顿
秘钥的生成
$ ssh-keygen -t rsa -C "youremail@example.com"
引号里面是你的邮箱
创建自己的用户名
$ git config --global user.name "Your Name"
引号里面是你提交代码时要显示的名字
创建自己的邮箱
$ git config --global user.email "youremail@example.com"
$ ssh-keygen -t rsa -C "youremail@example.com"
引号里面是你的邮箱
$ git config --global user.name "Your Name"
引号里面是你提交代码时要显示的名字
$ git config --global user.email "youremail@example.com"