Creating a submodule and bringing history from the main project
- From
Guillermo Gonzalez <guillermog@tricuspide.com>
- Date
- Aug 22, 2010, 17:24 UTC
- Message-ID
- <AANLkTimoTN10EfeiE3Viim_x1Y3jRG89ANzRd69ah7jz@mail.gmail.com>
- In-Reply-To
- <AANLkTi=JWdp7ZneDpN5r4Zi4VaDfvW40QBZ-=sGx66O2@mail.gmail.com>
Hello!
I have a big project, currently using GIT, and I wish to take some sudirectories -or libraries- and put them in a separate repo (and incorporate them via submodule support), so other commiters can have access to a specific part of the project only.
Is it possible to somehow export the history of say lib/componentX into a new repository componentX.git?
Thank you very much!
Guillermo