使用Git下载指定分支命令为

使用Git下载指定分支命令为:

git clone -b 分支名 仓库地址
 

例如:

git clone -b dev  https://github.com/xxx.git
 

将下载分支名为2D-Attention的分支仓库。

如果直接:

git clone https://github.com/xxx.git
 
posted @ 2020-04-24 09:48  小学弟-  阅读(7631)  评论(1编辑  收藏  举报