Removes the submodule's entry from the configuration and clears its working tree, so it no longer appears in git submodule status. The -f flag is needed when the submodule has local changes. The gitlink entry in the index stays until you commit.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.