How do I remove a submodule?

Since git1.8.3 (April 22d, 2013):

There was no Porcelain way to say “I no longer am interested in this submodule”, once you express your interest in a submodule with “git submodule init“.
git submodule deinit” is the way to do so.

The deletion process also uses git rm (since git1.8.5 October 2013).

Leave a Comment