In my web app project I have Google minify set up as a git submodule; the idea is that I can keep the minify library up to date by simply running git submodule update
.
My problem is I have made local changes to the minify config.php
file which I want to publish as part of my app... but how can I commit this change to the super-project?
Other sources (e.g. How do I “commit” changes in a git submodule?) say I need to commit and push the submodule first, but obviously I'm not going to push the changes in my config file to the public minify repository.
What's the best way of handling this sort of set up... I imagine it should be quite common but cannot find any solid recommendations.