Sets the ignore rule for the submodule in the configuration.
This does not affect any currently-loaded instances..
a Repository.
the name of the submodule.
a SubmoduleIgnore.