Re: "submodule" mistake and a problem
- From
Howard Miller <howardsmiller@gmail.com>
- Date
- Oct 1, 2012, 12:05 UTC
- Message-ID
- <CAHVO_93d92Ert35z1popk+X8HAAHX_jwTVdRCjrhNHrhTsvx2Q@mail.gmail.com>
- In-Reply-To
- <506981C1.3030504@viscovery.net>
Show 7 quoted lines
> > Perhaps: > > git rm -f --cached path/to/subdir # remove from index, keep files > git add path/to/subdir > > -- Hannes
Fantastic.... worked perfectly. I'll write that down somewhere for the next time I do it :)
Is there a better way of handling sub-modules like that? I've looked at git submodules but just got into more of a mess. It would be nice to push a project complete with a (git) submodule upstream but it seems tricky or impossible.
Thanks :)