Nick, It's not checking out out a remote branch named deploy. It's creating a new local branch called "deploy", and then hard resetting it to the revision you requested to deploy (e.g. HEAD on master, or whatever).
e.g. git checkout deploy Would checkout an existing branch called 'deploy'. git checkout -b deploy Creates a new branch called 'deploy', and then checks it out. - Jamis On Wed, Sep 16, 2009 at 1:00 PM, Nik Bauman <[email protected]> wrote: > > Hi - in my deploy.rb I specify the following settings: > > set :application, "project" > set :repository, "[email protected]:nbauman/project_application.git" > set :branch, "master" > set :scm, :git > > > Yet, when I deploy I always see the following: > * executing `deploy:update_code' > executing locally: "git ls-remote [email protected]:nbauman/ > project_application.git master" > * executing "git clone -q [email protected]:nbauman/ > project_application.git /home/project/www/releases/20090916183149 && > cd /home/project/www/releases/20090916183149 && git checkout -q -b > deploy cce9a520c3965b518211de2e9aacaef602460979 && (echo > cce9a520c3965b518211de2e9aacaef602460979 > /home/project/www/releases/ > 20090916183149/REVISION)" > servers: ["ec2-ip.compute-1.amazonaws.com"] > > Notice the "git checkout -q -b deploy" > > When I go to my server and run 'git status' it always says it's on the > deploy branch. Yet I have the files that I've added to the master > branch. I'm confused... > > How do I get it to check out master? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
