On Fri, Aug 11, 2017 at 9:55 PM, Michael Stapelberg <stapelb...@debian.org> wrote: > I think the git HTTP transport does never allow shallow clones. You can use > the git transport protocol (also with GitHub), but note that the git > transport protocol is not authenticated (whereas https is, of course). >
Only dumb http server doesn't support shallow clone. The smart http protocol supports, like `git clone --depth=1 https://github.com/xxx` -- Best regards, Shengjing Zhu