git clone 指定分支

使用Git下载指定分支命令为:git clone -b 分支名仓库地址

克隆asp.net core 2.1.6版本

git clone -b 2.1.6 https://github.com/aspnet/AspNetCore.git
原文地址:https://www.cnblogs.com/smiler/p/10191495.html