简体   繁体   中英

PHP Application Deployment with Capistrano

Why does Capistrano try to create a new branch when I run a deployment of my PHP application? My SCM is Git.

事实证明,该分支仅在内部用于确保干净的工作目录,从该目录可以复制发行文件。

Generally speaking, people tend to create a branch when they release an application to their production environment.

This way :

  • They can continue activelly working on the main (development) branch,
  • And, if needed, they can fix critical bugs on the release branch -- that one not being impacted by the current developments .


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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM