Git cannot create shallow-since locally
问题 I am trying to create a --shallow-since working clone from a local bare clone but it keeps pulling everything. --depth=N works fine. I'm thinking the issue is I'm using the wrong format? I've tried searching but no where does it explicitly say what format < date > is supposed to be for --shallow-since=< date >. 回答1: Format is YYYY-MM-DD See above comment for what confused me and how that confusion was resolved. 回答2: While the date format is indeed, for instance, YYYY-MM-DD, " git fetch -