Tower Help & Support

Repairing Invalid Configuration

Git keeps the configuration values for a Submodule in various places (e.g. in .gitmodules, the local .git/config, the Submodule's own .git repository folder...).

When not using Tower for adding and managing Submodules, it can easily happen that these configurations get out of sync - and become invalid. Tower highlights this status in the sidebar and when selecting such a Submodule:

In such a case, you have two alternative options:

  1. Completely and cleanly Delete the Submodule
  2. Use Tower's Repair functionality to try fixing the invalid configuration