Is it possible to do a shallow git clone based on datetime?
问题 I know I can do a shallow clone by specifying the --depth flag. However, this takes in an integer as its value. Is there any way to have the identical behavior with a datetime ? I do not wish to clone the entire repository and checkout a previous state. 回答1: Why yes it is. At least only with Git 2.11 (Q4 2016) See commit cccf74e, commit 079aa97, commit 2997178, commit cdc3727, commit 859e5df, commit a45a260, commit 269a7a8, commit 41da711, commit 6d43a0c, commit 994c2aa, commit 508ea88,