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

Re: Q: how to remove or move submodules?

From
Petr Baudis <pasky@suse.cz>
Date
Jul 22, 2008, 23:22 UTC
Message-ID
<20080722232240.GL32184@machine.or.cz>
In-Reply-To
<fc113d400807122338o637cc159n5e19fea5a15dc866@mail.gmail.com>
  Hi,
On Sun, Jul 13, 2008 at 02:38:51AM -0400, Rob Sanheim wrote:
> I don't see any info on what the 'right' way is to delete or move
> submodules around in any of the docs.  Normally I end up just hacking
> my way through it and hand modifying the .gitmodules file, but this
> seems wrong.  Is there a recommended way?
  currently, you have to hand-modify the .gitmodules file, then remove
the directory from the working tree and then from the index. In part
inspired by your question, I have submitted patches to add git mv and
git rm support for submodules some time ago, but they probably won't
make it to 1.6.0.
				Petr "Pasky" Baudis
Previous: Rob Sanheim
Message 2 of 2 in “Q: how to remove or move submodules?”
  1. Rob SanheimJul 13, 2008
  2. Petr BaudisJul 22, 2008

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.