Optional
--allUnregisters all submodules in the working tree.
Optional
--branchSpecifies the branch.
Optional
--cachedUses the commit in the index instead of HEAD.
Optional
--checkoutOverrides submodule.$name.update.
Optional
--defaultCauses the tracking branch to default to the remote HEAD.
Optional
--depthCreates a shallow clone with history truncated to the specified number of revisions.
Optional
--dissociateModifies the behavior of --reference.
Optional
--filesCompares the commit in the index to HEAD.
Optional
--filterSpecifies the filter.
Optional
--forceOverrides command-specific behavior.
Optional
--initInitializes submodules.
Optional
--jobsLimits parallel submodule cloning.
Optional
--mergeMerges the commit in the superproject into the submodule.
Optional
--nameSets the submodule name.
Optional
--no-Does not fetch new objects from the remote.
Optional
--no-Overrides submodule.name.shallow. See also --recommend-shallow.
Optional
--no-Does not create only one branch. See also --single-branch.
Optional
--progressReports progress on the standard error stream.
Optional
--quietPrints error messages only.
Optional
--rebaseRebases the current branch onto the commit in the superproject.
Optional
--recommend-Overrides submodule.name.shallow. See also --no-recommend-shallow.
Optional
--recursiveTraverses submodules recursively.
Optional
--referenceSpecifies the repository to clone.
Optional
--remoteUses the status of the submodule's remote tracking branch.
Optional
--single-Creates only one branch. See also --no-single-branch.
Optional
--summary-Limits the summary size.
SubmoduleOptions defines the supported options for the Git submodule command.