Skip to content

submoduleSetUrl

Set the URL for the submodule in the configuration

After calling this, you may wish to call Submodule#sync() to write the changes to the checked out submodule repository.

Signature

ts
class Repository {
  submoduleSetUrl(name: string, url: string): void;
}

Parameters

  • namerequired · string

    The name of the submodule to configure.

  • urlrequired · string

    URL that should be used for the submodule.

Released under the MIT License.