Reputation: 31
Why does Capistrano try to create a new branch when I run a deployment of my PHP application? My SCM is Git.
Upvotes: 1
Views: 389
Reputation: 31
Turns out the branch is only used internally to ensure a clean working directory, from which to copy the release files.
Upvotes: 1
Reputation: 400922
Generally speaking, people tend to create a branch when they release an application to their production environment.
This way :
And they don't create a branch as soon as they deploy, they often at least create a tag -- from which they can branch if there is a bug that needs to be fixed before the next release of the development branch.
Upvotes: 0