"deploy" branch name is hardcoded in
lib/capistrano/recipes/deploy/scm/git.rb at line 146 then you shouldn't
change it (actually you can by overriding this  method).

Why you need it?


2013/2/26 fré de vries <[email protected]>

> Hi all,
>
> When i run 'cap deploy' ,  capistrano checks out a new branch in the just
> created releases/xxxxxxxxx/  directory.
> As i can see on my screen during deployment,  Capistrano does this with
> the command
> *git checkout -q -b deploy a4f187cf3dbd4294dc2fb4cc31b222eed79c51d5*
> *
> *
> as you can see,  a new branch is created  name '*deploy*'
>
> I do not like this, i'd like to name this branch after the branch being
> checked out. So if i do '*cap -s branch=MY_BRANCH deploy*' , the checkout
> command should be
> *git checkout -q -b MY_BRANCH a4f187cf3dbd4294dc2fb4cc31b222eed79c51d5*
> *
> *
> Can this be done?
>
>  --
> --
> * 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.com/group/capistrano?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
* 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.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to