Github 三种克隆模式

1、我称为平常模式,用于项目的本地克隆使用。(无权限、无加密、ssh protocol)

git clone http://github.com/username/exampleproject

2、我称为公共模式,用于安全性较低的项目管理。(有权限、协议加密、web_login_in protocal)

git clone https://username@github.com/username/exampleproject.git

3、我称为加密模式,用于安全性较高的私有服务器。(有权限、隧道加密、web)

git clone git@github.com:username/exampleproject.git

注意:TLS(http://)And SSL(https://);Password OR SSH Github都是支持的。( "exampleproject.git" 表示项目需要 ".git" 文件夹,可除 )

posted @ 2017-01-21 16:58  季文康  阅读(454)  评论(0编辑  收藏  举报