我想克隆edge一个github仓库的这个分支.
下面的命令被自述两个相同列master和edge
git clone --depth 1 git://github.com/bborn/communityengine.git vendor/plugins/community_engine
如何指定我想要边缘分支的git?
sar*_*gas 16
只需为分支添加-b即可
git clone --depth 1 git://github.com/bborn/communityengine.git vendor/plugins/community_engine -b edge
Run Code Online (Sandbox Code Playgroud)
然后你将有一个名为vendor /的文件夹,并且执行'git branch'将显示边缘分支.