threads / discuss / 14435

Q: how to remove or move submodules?

Subject: Q: how to remove or move submodules?

## tl;dr

2 messages between Jul 13, 2008 and Jul 22, 2008.

replies: 1people: 2as markdown or json

Rob Sanheim· Jul 13, 2008, 06:38 UTC · lore
Hello

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?

thanks, Rob

Petr Baudis· Jul 22, 2008, 23:22 UTC · re: Rob Sanheim · lore

Re: Q: how to remove or move submodules?

  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

← back to recent threads