I'm running Statamic a flat file system (database-less) CMS on Openshift.
The issue i'm having is that when i update the content on the server (i.e. using the CMS) the changes that are made to the flat files (i.e. the content) isn't committed to the git repo. So, when I push up new changes to the website from my local repo, I wind up writing over it each time there's a git push. If I do a git pull, I get nada because the remote server doesn't know about the changes (they haven't been committed yet)
What I need to be able to do is make a git commit to any changes that happen on the server. Sadly, his doesn't work. I tried SSH in and it has no idea that there's a git repo. Something to do with the build process that they use.
Ideally, I'd like to find a way to automatically commit the changes on the server so i can pull them down without SSH in to commit. But anything that gets the job done is a huge win at this point.