I have a PHP project on Github that uses bootstrap... we want to submodule that. But bootstrap has other stuff inside that project that we don't need. How should I include bootstrap so that we get the right files but don't have all this extra stuff in the project (and publicly accessible from the website of anyone that installs this project)?
The nice thing about a submodule is that it doesn't add lots of extra code to your project, code that you'll have to maintain, which I'll argue benefits you two-fold:
Remember to remind people who will clone your project that they'll need to run:
git submodule update --init
Before most anything else.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With