Re: Deleting a submodule
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Mar 13, 2009, 08:14 UTC
- Message-ID
- <81b0412b0903130114j289e7ae1j527e16cd84a892fe@mail.gmail.com>
- In-Reply-To
- <20BA928D-7133-40E7-AB01-466F509F002C@simplicidade.org>
2009/3/12 Pedro Melo <melo@simplicidade.org>:
Show 9 quoted lines
> 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'