I work in a small php store, and recently I suggested abandoning our nas as a common code base and starting using a disruptive function for version control.
I figured out how to make sure that our development server is updated with every commit in our development branch ... and I know how to merge into trunk and update our intermediate server, because we have direct access to both of them, but mine the biggest question is how to write a script that will update the production server, to which we only have access to ftp many times. I donβt want to download the whole site every time ... is there a way to write a script that is smart enough to only upload what was changed to the web server when it was executed (I donβt want it to automatically load into the production environment, we want execute it manually)?
Does my question make sense?
source
share