使用Git下载指定分支命令为:
git clone -b 分支名 仓库地址
例如:
git clone -b dev https://github.com/xxx.git
将下载分支名为2D-Attention的dev分支仓库。
如果直接下载默认分支:
git clone https://github.com/xxx.git
使用git下载同一远程仓库的不同版本分支
阅读 81
2022-01-10
使用Git下载指定分支命令为:
git clone -b 分支名 仓库地址
例如:
git clone -b dev https://github.com/xxx.git
将下载分支名为2D-Attention的dev分支仓库。
如果直接下载默认分支:
git clone https://github.com/xxx.git
相关推荐
精彩评论(0)