# git submodule remove?

1 messages from 2008-03-31 to 2008-03-31. Participants: Asheesh Laroia.
Thread: https://gitlist.dev/t/12934

## Asheesh Laroia, 2008-03-31 18:58

Subject: git submodule remove?
Message-ID: <alpine.DEB.1.10.0803311145250.5920@sf.creativecommons.org>
URL: https://gitlist.dev/e/alpine.DEB.1.10.0803311145250.5920%40sf.creativecommons.org

```
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.

```
