I currently have two projects, a framework and an application. The repository for the framework contains a number of directories that are not useful in the application. I'd like to be able to configure git submodule to only copy the directories I want from my framework repository to the root of my application directory.
Here's what my project directories look like:
Framework
- /
- red-locomotive/ - the framework i want to use
- modules/ - a directory with extra modules
- lib/ - libraries that the engine depends on
- examples/ - some tests
- readme.md etc...
Application
- /
- red-locomotive/ - from framework
- modules/ - from framework
- lib/ - from framework
- kernel.js etc...
You can see that I want the three directories from the framework repository in the root of my application. can git submodules do this?