I would like to do a shallow clone of a submodule like this:
$ git submodule add --branch master --single-branch --depth 5 repo dir
but it doesn't work. I think '--single-branch' is not yet implemented for submodules.

With the clone command it works:
$ git clone --branch master --single-branch --depth 5 repo dir

Is it possible to do something like this with a submodule?

Stefan


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to