diff --git a/changelog/2025-12-16-workspace-forks/index.md b/changelog/2025-12-16-workspace-forks/index.md new file mode 100644 index 000000000..b7c0e406e --- /dev/null +++ b/changelog/2025-12-16-workspace-forks/index.md @@ -0,0 +1,17 @@ +--- +slug: workspace-forks +version: v1.593.0 +title: Workspace forks +tags: ['Workspaces', 'Git sync', 'Collaboration'] +description: Create independent copies of workspaces for parallel development workflows, similar to git branches. Merge changes back to parent workspaces directly from the UI or through git sync. +features: + [ + 'Fork workspaces to create independent development environments', + 'Automatically create git branches when used with git sync', + 'Merge forked workspaces back to parent workspaces from the UI', + 'Multiple developers can work on separate forks simultaneously', + 'Deploy individual items to parent workspace using deployment UI' + ] +docs: /docs/advanced/workspace_forks +video: /videos/merge-ui-demo.mp4 +--- diff --git a/docs/advanced/11_git_sync/git_sync_diagram.png b/docs/advanced/11_git_sync/git_sync_diagram.png new file mode 100644 index 000000000..d3dba9882 Binary files /dev/null and b/docs/advanced/11_git_sync/git_sync_diagram.png differ diff --git a/docs/advanced/11_git_sync/index.mdx b/docs/advanced/11_git_sync/index.mdx index cc00fa85e..b42d0a26a 100644 --- a/docs/advanced/11_git_sync/index.mdx +++ b/docs/advanced/11_git_sync/index.mdx @@ -1,18 +1,10 @@ import DocCard from '@site/src/components/DocCard'; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # Git sync -From the workspace settings, you can set a [git_repository](../../integrations/git_repository.mdx) resource on which the workspace will automatically commit and push scripts, flows and apps to the repository on each [deploy](../../core_concepts/0_draft_and_deploy/index.mdx). - -You can use this feature to [Deploy to prod using a git workflow](#git-sync---promotion-mode-deploy-to-prod-using-a-git-workflow). - -
- -
+Git sync lets Windmill workspaces be tracked by git. Each time an item is deployed, Widnmill will create and push a commit to the specified repository. It is also possible, and recommended, to setup CI/CD actions that will deploy items on windmill when a new commit is detected, enabling bi-directional synchronization. :::tip Version control @@ -20,7 +12,13 @@ For all details on Version control in Windmill, see [Version control](../../adva ::: -This video shows how to set up a Git repository for a workspace (Git sync - sync mode). +This feature is [Cloud & Enterprise Self-Hosted](/pricing) only. + +![Git sync diagram](./git_sync_diagram.png 'Git sync diagram') + +## Setup - Git sync from Windmill + +This video shows how to set up a Git repository for a workspace. +
+ +
-
+## Promotion workflow: Cross-instance deployment using a git workflow -More details at: +One option you will see in the Git Sync settings tab, is to add a Promotion target. This is an advanced setup that leverages the feature to create deployements from one workspace to another. + +Learn how to setup this promotion workflow:
- -
diff --git a/docs/advanced/11_git_sync/windmill_collaboration.mdx b/docs/advanced/11_git_sync/windmill_collaboration.mdx new file mode 100644 index 000000000..95601309a --- /dev/null +++ b/docs/advanced/11_git_sync/windmill_collaboration.mdx @@ -0,0 +1,51 @@ +import DocCard from '@site/src/components/DocCard'; + +# Collaborating on Windmill + +In windmill there are multiple ways to collaborate + +## Workspace forks + +The easiest and main way of collaborating on windmill is through the use of workspace forks. This feature lets users branch off of a workspace and have an exact copy where they can create new items or make changes, test them, and deploy them to the main workspace once it's all working. + +