Allow all branching is a Project A way to group multiple Sites from the same Git Repository, allowing you to define a main branch, as well as branching and publishing rules. You can access the Projects Browser using the Projects link in the App Sidebar. A website in CloudCannon that includes all the files, content, configuration, and settings needed to edit, build, and host a complete website. The branch in your Git Repository that represents your live or production content within a Project. The Main Branch determines where new branch Sites are created from and where changes are published to by default.Project
Site
Main Branch
Allow all branching is useful when Organization Members need to start their work from a Site in your Project that is not your Main Branch. Two common cases:
- Working in a Project with multiple staging Sites. Your Main Branch can only point at one branch in your Project. With Allow all branching turned on, Organization Members can branch from any of your staging Sites, not just the one you set as Main.
- Building on another Organization Member's in-progress work. An Organization Member is part-way through a longer change, and another Organization Member needs to build on their unpublished work. With Allow all branching turned on, the second Organization Member can branch from the in-progress Site without waiting for the first Organization Member to publish.
When an Organization Member branches from a Site that is not your Main Branch, the new branched Site publishes back to that source Site — not to the Main Branch. CloudCannon sets the source Site as the new Site's Publish Branch by default, so you can pull updates from the source as it changes and publish your changes back to it. For more information on the settings CloudCannon applies to new branched Sites, please read our documentation on what Branch Defaults are.
Allow all branching is turned off by default. You can turn it on or off at any time, and existing branched Sites are not affected by the change. For more information, please read our documentation on turning on Allow all branching.