使用Git下载指定分支命令为:
git clone -b 分支名 仓库地址
例如:
git clone -b 2D-Attention https://github.com/stephen-song/Speech-Transformer-plus-2DAttention.git
将下载分支名为2D-Attention的分支仓库。
如果直接:
git clone https://github.com/stephen-song/Speech-Transformer-plus-2DAttention.git
将默认下载master分支。