submoduleSetUpdate
Set the update rule for the submodule in the configuration
This setting won't affect any existing instances.
Signature
ts
class Repository {
submoduleSetUpdate(name: string, update: SubmoduleUpdate): void;
}Parameters
- namerequired · string
The name of the submodule.
- updaterequired · SubmoduleUpdate
The new value to use.
Submodule update values
These values represent settings for thesubmodule.$name.update
configuration value which says how to handlegit submodule update
for this submodule. The value is usually set in the ".gitmodules"
file and copied to ".git/config" when the submodule is initialized.
