git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Q: how to remove or move submodules?
@ 2008-07-13  6:38 Rob Sanheim
  2008-07-22 23:22 ` Petr Baudis
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Sanheim @ 2008-07-13  6:38 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Q: how to remove or move submodules?
  2008-07-13  6:38 Q: how to remove or move submodules? Rob Sanheim
@ 2008-07-22 23:22 ` Petr Baudis
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Baudis @ 2008-07-22 23:22 UTC (permalink / raw)
  To: Rob Sanheim; +Cc: git

  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-22 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-13  6:38 Q: how to remove or move submodules? Rob Sanheim
2008-07-22 23:22 ` Petr Baudis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).