Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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-g...



ditto (but with mercurial). then you have the bonus of having your entire deployment configuration versioned for easy rollback.


I 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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: