美文网首页
服务器上的Git

服务器上的Git

作者: 你weixiao的时候很美 | 来源:发表于2020-06-19 10:08 被阅读0次

这章内容没咋懂。

一: 协议:

  • local 协议
  • http 协议
  • ssh 协议
  • Git 协议
git  clone file:///opt/git/project.git

git clone https://example.com/gitproject.git

git clone ssh://user@server/project.git

git clone git://example.com/gitproject.git

二:SSH公钥
许多 Git 服务器都使用 SSH 公钥进行认证

默认情况下,用户的 SSH 密钥存储在其 ~/.ssh 目录下

相关文章

网友评论

      本文标题:服务器上的Git

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