cloneopts
Summary
Section titled “Summary”cloneopts'' passes arbitrary flags directly to git clone. The default is
--recursive; supplying this ice replaces that default entirely.
Syntax / Usage
Section titled “Syntax / Usage”zi ice cloneopts"--depth 1 --single-branch"zi ice cloneopts"" # empty string: disables --recursive (no extra clone flags)Details
Section titled “Details”The contents of cloneopts'' replace the default --recursive flag passed to git clone. To disable recursive cloning without adding other flags, pass an empty value.
Does not work with snippets.
Examples
Section titled “Examples”# Shallow clone without submoduleszi ice cloneopts"--depth 1"zi light some/large-plugin
# Disable recursive submodule cloningzi ice cloneopts""zi light some/plugin-with-submodules-you-dont-wantSee Also
Section titled “See Also”- depth
- proto