Sometimes I have deleted my entire repository and cloned it again to update the submodules just because I changed the .gitmodules file.
Note: This actually takes less commands than messing around with .git/config.
Sometimes I have deleted my entire repository and cloned it again to update the submodules just because I changed the .gitmodules file.
Note: This actually takes less commands than messing around with .git/config.