Using capistrano to deploy from different git branches
- by Toms Mikoss
I am using capistrano to deploy a RoR application. The codebase is in a git repository, and branching is widely used in development. Capistrano uses deploy.rb file for it's settings, one of them being the branch to deploy from.
My problem is this: let's say I create a new branch A from master. The deploy file will reference master branch. I edit…