git clone 某一分支

git clone -b mybranch --single-branch git://sub.domain.com/repo.git

比如:git clone -b dev --single-branch https://github.com/xxxx

你可能感兴趣的:(git clone 某一分支)