I am wondering how to use modman in projects that already have existing .git source control.
Namely consider the following structure.
magento_root
-.git
-.gitignore
-.modman
-extension1
-.git
-*-no files will be committed!
-extension2
-.git
-*-no files will be committed!
-app
-other_files
-...
The issue is, when locally adding extensions via modman, and after testing them, I would like to push changes up to our production servers (multi-server setup using AWS Elastic Beanstalk), but by default git omits all other .git repositories under its path. This means, that I can successfully install extensions using modman locally, and all the necessary files will be created, but it won't work once I do
git add .
git commit -a
git push or git aws.push
because all actual files modman checked out will not be included.
How can I include files modman adds using git, and preserve local development, then push to production software life cycle?