I have a local repository and push my code to an openshift online remote repository. Openshift Online then deploys the app automatically.
Each time I modify a CSS, I have to run a script to minify it and the minified file gets tracked in order to be pushed on openshift.
Would it be possible to push the minified file without tracking its changes ? Through a git option or by building the minified file directly on the openshift cartridge ?
You can make .gitignore file in your local repo, add your filename in it, next time you change the file, git will not add it to indexing stage but the old version of file will stay in local and remote repo unless your remove it. Ignoring files