Re: How to change a submodue as a subdirectory?
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Nov 14, 2007, 20:26 UTC
- 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?