Git Work Flow For Ruby on Rails Developers

Cross posted from darthsid

This is my very first blog post and so I though it should be about a tool that is indispensable for me - Git. I started using git about 10 months ago and looking back I can't imagine how I managed to get work done without it. The purpose of this post however is not to sing git's praises, there are lots of good articles on the web that do so much better than I ever could. Instead, I wish to share the work-flow I use on my projects. I developed this work-flow by trial and error over the months and is currently the most efficient and productive approach I can think of. If any experienced git users happen to stumble upon this post, please do provide suggestions/alternatives to help me improve my process.

The project I am currently working on requires me to maintain two parallel deployment branches. One is a "production branch" which is deployed on the live server and the other is a "development branch" which is deployed on a staging server. All enhancements and feature additions are done in the "development branch" and the only changes made in the "production branch" are production bug fixes that need urgent attention. Once the "development branch" is deemed stable it is merged into "production branch" and deployed.
Read more