Gitmodule is a powerful feature for keeping all project git hosted repos on their original repositories.
For Magento 1 usage along with modman deployment process it takes following commands:
git submodule add https://github.com/lcbrq/magento-LCB_Faq.git LCB_Faq
git submodule init
modman deploy LCB_Faq
Next, after adding symlinks to .gitgnore file the submodule info could be safely pushed to repository.
git add .modman/LCB_Faq
git add .gitignore
git add .gitmodules
git commit -m “Add LCB_Faq plugin as project submodule”
In your repo the data would be shown as something like Subproject commit ea7099ee02ab3593fe7ae59ee7ec129c54749ec8 instead files.
Leave a Reply