克隆远程服务器上的指定分支

-branch <name>, -b <name>

Instead of pointing the newly created HEAD to the branch pointed to by the cloned repository's HEAD, point to <name> branch instead. In a non-bare repository, this is the branch that will be checked out. --banch can also take tags and detaches the HEAD at that commit in the resulting repository.

使用示例

results matching ""

    No results matching ""