threads / discuss / 12934

git submodule remove?

Subject: git submodule remove?

## tl;dr

One message between Mar 31, 2008 and Mar 31, 2008.

replies: 0people: 1as markdown or json

Asheesh Laroia· Mar 31, 2008, 18:58 UTC · lore

I notice that in git-submodule, there is an "add", a "status", an "init", and an "update" command, but no "remove" command.

I have "git version 1.5.4.4", and man git-submodule provides no mention of the right way to remove a submodule. I imagine that removing it from .gitmodules and rm -rf'ing the tree that git-submodule cloned should do the trick. Is this documented somewhere?

-- Asheesh.
-- 
Editing is a rewording activity.

← back to recent threads