From: Alex Riesen Date: Fri, 13 Mar 2009 08:14:20 GMT Subject: Re: Deleting a submodule Message-ID: <81b0412b0903130114j289e7ae1j527e16cd84a892fe@mail.gmail.com> In-Reply-To: <20BA928D-7133-40E7-AB01-466F509F002C@simplicidade.org> 2009/3/12 Pedro Melo : > I couldn't find a git-submodule command to delete a submodule. What is the > correct procedure? > > I did: > >  * removed the entry from .gitmodules; >  * run git submodule sync > > But its still recorded somewhere. git rm --cached path/to/submodule git commit -m'Submodule path/to/submodule removed'