submoduleSetBranch
Set the branch 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 {
submoduleSetBranch(name: string, branchName: string): void;
}Parameters
- namerequired · string
The name of the submodule to configure.
- branchNamerequired · string
Branch that should be used for the submodule
