From: Alex Riesen Date: Wed, 14 Nov 2007 20:26:51 GMT Subject: Re: How to change a submodue as a subdirectory? Message-ID: <20071114202651.GC3973@steel.home> In-Reply-To: <46dff0320711140637s51e1368fv3f632b6f04d093d5@mail.gmail.com> 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?