【发布时间】:2013-09-02 17:24:43
【问题描述】:
以下是我用来检查特定提交的命令。
git clone git://repo.git/repo123
git checkout <commitID>
我想一步完成上述操作 - 仅使用 git clone 命令。
我之所以要这样做是因为 repo123 非常庞大。所以检查我想要的提交将节省我很多时间。
我知道--depth 选项。但在这种情况下,它是没有用的。谁能告诉我怎么做?
【问题讨论】:
-
--depth有什么问题?
标签: git clone commit git-checkout