1.只克隆Git仓库中的一个分支 git clone 主项目网址 -b 分支名字 例子: git clone https://github.com/mushorg/conpot.git -b iec104 2.