Skip to content

updateStrategy

Get the update rule that will be used for the submodule.

Signature

ts
class Submodule {
  updateStrategy(): SubmoduleUpdate;
}

Returns

  • SubmoduleUpdate

    The update rule that will be used for the submodule.

    Submodule update values

    These values represent settings for the submodule.$name.update
    configuration value which says how to handle git submodule update
    for this submodule. The value is usually set in the ".gitmodules"
    file and copied to ".git/config" when the submodule is initialized.

Released under the MIT License.