git 导出远程特定分之

很多时候,git clone 只是 clone 下来了 master 分支,如果想 clone 特定分支。有的时候不知如何是好。

找到了如下的命令,记录一下。以便有需要的同学可以使用。

git co -b [you-branch-name] origin/[remote-branch-name]

其中 co 是我自己的 checkout 的别名~~

原文地址:https://www.cnblogs.com/asdfq/p/6657276.html