I have an repository for my app: AppRepo
And inside, I have two modules:
- Site
- Time
Folder Structure:
.AppRepo
├── Controller
├── Routes
├── Models
└── Modules
├── Site
└── Time
And I need push all changes I do over AppRepo on your repository, but not including the Modules changes. The changes of modules , I want push to different repositories (one for each module).
But when I wish clone the AppRepo I want clone too the modules content...
Exist a configuration for GIT for this behaviour? I can exclude the Modules Folder with .gitignore, but i want know if exist a better way.