📜  git clone 最新版本 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:26.547000             🧑  作者: Mango

代码示例1
You can do this with the --branch flag, which will also accept a tag.

$ git clone  git@github.com:mygitname/theproject.git --branch 1.0.2
In most cases, you will just want to checkout the tag as described in Exprator's answer.