git SSH

作者: jacklin1992 | 来源:发表于2016-10-28 10:10 被阅读31次

安装git后,应先设置git的初始信息

$ git config --global user.name "jacklin"
$ git config --global user.email 361525737@qq.com

在home目录下 判断有无公钥

$cd ~/.ssh

若没有先建立公钥

$ssh-keygen -t rsa -C "361525737@qq.com"

一路回车

然后

$cd ~/.ssh  ls  查看

参考链接

相关文章

网友评论

      本文标题:git SSH

      本文链接:https://www.haomeiwen.com/subject/hccgyttx.html