git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git submodule delete?

From
THThomas Hager <duke@sigsegv.at>
Date
May 10, 2012, 06:56 UTC
Message-ID
<20120510085616.138349f77tk1gplc@webmail.moger.at>
In-Reply-To
<4FAB0D32.3000503@palm.com>
Quoting "Rich Pixley" <rich.pixley@palm.com>:
> How do I remove a submodule?
got to your superproject and:
- delete the submodules's section in .gitmodules and .git/config
- run "git rm --cached path_to_submodule"
- commit the superproject
- remove the submodule files.
- remove .git/modules/your_submodule

hth, tom.

-- 
Thomas "Duke" Hager                               duke@sigsegv.at
GPG: 2048R/791C5EB1            http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
Previous: Rich PixleyNext: Heiko Voigt
Message 2 of 3 in “git submodule delete?”
  1. Rich PixleyMay 10, 2012
  2. Thomas HagerMay 10, 2012
  3. Heiko VoigtMay 10, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.