git-clone
克隆现有的代码仓库。 更多信息:https://git-scm.com/docs/git-clone.
git clone {{远程代码库地址}} {{路径/到/目录}}
git clone --recursive {{远程代码库地址}}
.git
目录:git clone {{[-n|--no-checkout]}} {{远程_代码仓库_地址}}
git clone {{[-l|--local]}} {{路径/到/本地/代码库名}}
git clone {{[-q|--quiet]}} {{远程代码库地址}}
git clone --depth {{10}} {{远程代码库地址}}
git clone {{[-b|--branch]}} {{分支名称}} --single-branch {{远程代码库地址}}
git clone {{[-c|--config]}} core.sshCommand="{{ssh -i 路径/到/ssh_私钥}}" {{远程代码库地址}}