命令 clone 常用命令形式:git clone --branch <branch_name> --depth 1 <remote-address> --branch:分枝;--depth:克隆的深度,--depth 1代表只克隆最新一次提交记录以及这次提交之后的最新内容,不克隆历史提交,所造成的影响就是不能查看历史提交记录,但是克隆速度大大提升。