tom tom - 26 days ago 8
Git Question

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.

Answer