提交 54a20cf2 编写于 作者: M Mislav Marohnić

Add more documentation about git protocol to hub-clone(1)

Fixes #1813 [ci skip]
上级 64661066
......@@ -25,6 +25,13 @@ var cmdClone = &Command{
<DESTINATION>
Directory name to clone into (default: <REPOSITORY>).
## Protocol used for cloning
The 'git:' protocol will be used for cloning public repositories, while the SSH
protocol will be used for private repositories and those that you have push
acccess to. Alternatively, hub can be configured to use HTTPS protocol for
everything. See "HTTPS instead of git protocol" and "HUB_PROTOCOL" of hub(1).
## Examples:
$ hub clone rtomayko/ronn
> git clone git://github.com/rtomayko/ronn.git
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册