# 需要一种更好的方式来解释应该在哪条分支上，为什么，以及会发生什么

**URL:** <https://meta.discourse.org/t/need-a-better-way-to-explain-what-branch-to-be-on-why-and-what-happens/240342>\
**Category:** Support\
**Created:** [2022年九月28日 15:29 UTC](https://meta.discourse.org/t/need-a-better-way-to-explain-what-branch-to-be-on-why-and-what-happens/240342 "2022-09-28T15:29:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2022年九月28日 15:44 UTC](https://meta.discourse.org/t/need-a-better-way-to-explain-what-branch-to-be-on-why-and-what-happens/240342/2 "2022-09-28T15:44:26Z")

</div>

有

> [@jomaxro](#):
>
> **Main:**  
> When a new commit is added to [Discourse](https://github.com/discourse/discourse) it is on the main branch. Main is the absolute latest (most current) branch of Discourse, and we do not recommend anyone run their site tracking the main branch.
> 
> **Tests-passed:**  
> When a new commit is pushed the to the main branch, our build server automatically runs all our tests against the latest code. Once they all pass the commit is added to our `tests-passed` branch. This is the branch all Discourse sites run by default.
> 
> **Beta:**  
> Every few weeks we push the current commits on `tests-passed` to `beta`. We use beta as a “milestone” to push out a collection of commits we want more sites to be running and test. We also push a beta if we have an important security fix we want sites to receive. When a beta is pushed all sites running on `tests-passed` or `beta` receive the “new update available” email. Sites running `tests-passed` will update to the current `tests-passed` commits (including any new commits pushed after the beta), while those on `beta` will not.
> 
> **Stable:**  
> Every 4-6 months we release a new `stable` build. ~2 weeks before pushing stable we release our last beta. We then watch our logs closely to try and catch any lingering bugs that exist, and avoid adding any new features/risky changes. Once we’re satisfied with the state of the current beta, we push to stable.

也许这可以作为主题的一个好开端

---

_[View the full topic](https://meta.discourse.org/t/need-a-better-way-to-explain-what-branch-to-be-on-why-and-what-happens/240342)._
