addToIndex
Add current submodule HEAD commit to index of superproject.
Signature
ts
class Submodule {
addToIndex(writeIndex?: boolean | null | undefined): void;
}Parameters
- writeIndexnull | boolean
If is true, then the index file will be immediately written. Otherwise, you must explicitly call
write()on anIndexlater on.
