From: Ping Yin Date: Thu, 15 Nov 2007 05:36:16 GMT Subject: Re: How to change a submodue as a subdirectory? Message-ID: <46dff0320711142136r2c70d698vd380c02188f95507@mail.gmail.com> In-Reply-To: <20071114202651.GC3973@steel.home> On Nov 15, 2007 4:26 AM, Alex Riesen wrote: > Ping Yin, Wed, Nov 14, 2007 15:37:57 +0100: > > I have a super project superA, and a submodue subB. Now i decide to > > switch subB from submodule to sub directory. Any good way to do that > > and not losing any history? > > $ mv subB sub > $ git add sub > $ git update-index --force-remove subB > $ git commit > > Which history were you afraid of losing? > I want to keep the history of the submodule -- Ping Yin