In my deploy.rb for Capistriano I have the following:
set :branch, "2.3.5"
but Capistriano insists on checkout out deploy. Any ideas why and/or how to fix it? I'm using git as the SCM:
set :application, "Example"
set :repository, "[email protected]:example/example.git"
set :scm, :git
set :deploy_to, "/var/www/example.com/"
set :branch, "2.3.5"
set :scm_verbose, true
ssh_options[:forward_agent] = true
set :use_sudo, false
set :user, "www-data"