git config --global user.name "xxx"
git config --global user.email "xxx@xxx.com"
ssh-keygen -t rsa -C "xxx@xxx.com"
~ cat ~/.ssh/id_rsa.pub 查看ssh key
Jietu20170321-151159.jpgpbcopy < ~/.ssh/id_rsa.pub 复制到剪切板,就可以直接粘贴出去啦~
git config --global user.name "xxx"
git config --global user.email "xxx@xxx.com"
ssh-keygen -t rsa -C "xxx@xxx.com"
~ cat ~/.ssh/id_rsa.pub 查看ssh key
Jietu20170321-151159.jpgpbcopy < ~/.ssh/id_rsa.pub 复制到剪切板,就可以直接粘贴出去啦~
本文标题:git 配置SSH
本文链接:https://www.haomeiwen.com/subject/ailgnttx.html
网友评论