git生成public key

1 配置user name和email

git config --global user.name "xxx"

git config --global user.email "xxx"

 

2 生成秘钥时指定邮箱

ssh-keygen -t rsa -C "email_name@email"

 

 

 

 

 



posted @ 2018-10-26 22:02  PhoenixTree(梧桐树)  阅读(2860)  评论(0编辑  收藏  举报