全克隆:
git clone <url>
只克隆单一分支:
git clone -b <branch> --single-branch <url>
注意:
git clone -b <branch> <url>
这条克隆的指令与全克隆的作用一致。
全克隆:
git clone <url>
只克隆单一分支:
git clone -b <branch> --single-branch <url>
注意:
git clone -b <branch> <url>
这条克隆的指令与全克隆的作用一致。