Does Confluence support wiki branching and merging?
Asked by Piotr Piasecki:

I would like to create a documentation for our product. However, as with any software products, things get changed over time. So I would want to maintain two versions of the same documentation - one for "live" version of the product, and one for "dev" version of the product that's being developed and updated.

The idea would be to adjust the dev documentation on the fly as the product gets updated and push the changes from dev to live at the same time the code gets pushed from dev to live environment so the users would always be able to check the live wiki documentation and see the correct, up-to-date documentation, while devs could work on the dev documentation that reflects the upcoming changes.

Basically, it's like a git flow but for the wiki with periodic "dev-to-main" pushes.

Does Confluence support a functionality like that that's not just "lets manually copy and paste the changes", and if so, how can I set this up?


Answers:
author: Matthias Gaiser _K15t_
body: Hi [@Piotr Piasecki](/t5/user/viewprofilepage/user-id/3659191),

as [@Fabian A. Lopez (Community Leader - Argentina, Florida, California)](/t5/user/viewprofilepage/user-id/211883) mentioned that sounds like a perfect use case for some of our apps. It's on the heart of our vision that you can communicate your product value to your customers.

Since you've stated that you're on Confluence Cloud, I can see the combination of these two apps useful:

* [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview): Scroll Viewport allows you to publish your docs from Cloud into a styleable help center. You can have a look at our [docs for Scroll Viewport](https://help-cloud.k15t.com/scroll-viewport/) how it can look like.  
  So you can work in Confluence on your "dev" branch and keep publishing it via Scroll Viewport to your live docs.
* [Scroll Documents](https://marketplace.atlassian.com/apps/1217608/scroll-documents-for-confluence?hosting=cloud&tab=overview): If you want to version your content, you can also combine Scroll Viewport with Scroll Documents. This allows you to group several pages together as a Document and version it.

If you want to get a demo, [visit our webpage](https://www.k15t.com/software/scroll-viewport) or let us know any additional questions via help@k15t.com.

Cheers,  
Matthias.


author: James Conway
body: Hi Piotr,

This is not a native capability of Confluence. Fortunately, the Atlassian Marketplace offers a fantastic range of add-ons to customise Confluence to meet your requirements. One option you may want to consider is Comala Publishing, this enables you to work in a draft (or dev) Confluence space, and then synchronise with your Published (or live) space as required.

If you are on Confluence Server or Data Center you can see the app summary and download a free 30-day trial from [https://marketplace.atlassian.com/apps/143/comala-publishing?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/143/comala-publishing?hosting=datacenter&tab=overview)

If you are on Confluence Cloud please do get in contact with us at [https://support.comalatech.com](https://comalatech.jira.com/servicedesk/customer/portal/1) as we are currently working on a version of Comala Publishing for Cloud..

Let me know if you have any questions

All the best

James  
Senior Product Manager


author: Fabian A. Lopez (Community Leader - Argentina, Florida, California)
body: Good point, you can also enhance the experience by adding K15t ViewPort and k15t versions.

Read this article from Matt Reiner Rock the docs [Introducing Rock the Docs: Your Team's Guide to Documentation in Confluence \| K15t](https://www.k15t.com/blog/2019/04/introducing-rock-the-docs-your-team-s-guide-to-documentation-in-confluence)

[@Matthias Gaiser _K15t_](/t5/user/viewprofilepage/user-id/853318) can help you as well. the combination of Confluence, Comala Document Management, Publishing and K15t ViewPort and versions is a good one

comments: author: Matthias Gaiser _K15t_
body: [@Fabian A. Lopez (Community Leader - Argentina, Florida, California)](/t5/user/viewprofilepage/user-id/211883) , thank you for mentioning me. Since [@Piotr Piasecki](/t5/user/viewprofilepage/user-id/3659191) is looking for Cloud solutions, I've added a new answer to not confuse him - or anyone else reading the thread.


Tags: cloud

confluence-cloud

documentation

git

wiki