Interface SubmoduleOptions

SubmoduleOptions defines the supported options for the Git submodule command.

Hierarchy

  • SubmoduleOptions

Properties

--all?: null

Unregisters all submodules in the working tree.

--branch?: string

Specifies the branch.

--cached?: null

Uses the commit in the index instead of HEAD.

--checkout?: null

Overrides submodule.$name.update.

--default?: null

Causes the tracking branch to default to the remote HEAD.

--depth?: string | number

Creates a shallow clone with history truncated to the specified number of revisions.

--dissociate?: null

Modifies the behavior of --reference.

--files?: null

Compares the commit in the index to HEAD.

--filter?: string

Specifies the filter.

--force?: null

Overrides command-specific behavior.

--init?: null

Initializes submodules.

--jobs?: string | number

Limits parallel submodule cloning.

--merge?: null

Merges the commit in the superproject into the submodule.

--name?: string

Sets the submodule name.

--no-fetch?: null

Does not fetch new objects from the remote.

--no-recommend-shallow?: null

Overrides submodule.name.shallow. See also --recommend-shallow.

--no-single-branch?: null

Does not create only one branch. See also --single-branch.

--progress?: null

Reports progress on the standard error stream.

--quiet?: null

Prints error messages only.

--rebase?: null

Rebases the current branch onto the commit in the superproject.

--recommend-shallow?: null

Overrides submodule.name.shallow. See also --no-recommend-shallow.

--recursive?: null

Traverses submodules recursively.

--reference?: string

Specifies the repository to clone.

--remote?: null

Uses the status of the submodule's remote tracking branch.

--single-branch?: null

Creates only one branch. See also --no-single-branch.

--summary-limit?: string | number

Limits the summary size.