4 ms·
If you're already using Git for version control, why not also deploy from it? I personally use it to simultaneously push to GitHub and production and it works v
by kylec 17y ago
If you're already using Git for version control, why not also deploy from it? I personally use it to simultaneously push to GitHub and production and it works very well:
http://stackoverflow.com/questions/279169/deploy-php-using-git http://stackoverflow.com/questions/279169/deploy-php-using-g...
- dschobel 17y agoditto (but with mercurial). then you have the bonus of having your entire deployment configuration versioned for easy rollback.
- Pistos2 17y agoI deploy everything with git. With branches and tags, that also lets me deploy different states of a given project to different servers (development, staging, production). Rolling back or switching between tags is easy (migrations aside).