git clone 指定分支 拉代码

2,170 阅读1分钟
  • git clone 指定分支
    git clone -b anan http://xxxxxx/service/tmall-service.git

   其中 anan 为分支名  根据实际情况更改

  • git clone 不指定分支

git clone  http://xxxxxx/service/tmall-service.git