Every collaborator on a repository gets their own workspace — a private space where you can make changes without affecting anyone else. Workspaces keep your uncommitted work separate and synced to the cloud automatically.If you’re not familiar with the concept, check out the Repositories, Branches, and Workspaces page first.
We recommend using a separate workspace for each machine. Cloning the same workspace on multiple machines may lead to sync issues and data loss.
A workspace can be either cloned (local) or non-cloned (cloud-only). Understanding the difference helps you decide how to set up your workflow.
Cloned (local)
Non-cloned (cloud-only)
Where files live
On your machine, synced with the cloud
Only on the Diversion cloud
How to edit files
Use any local editor, IDE, or game engine
Upload files through the web or desktop app
Auto-sync
Changes sync bidirectionally — local edits upload automatically, and remote changes download automatically
No local sync needed — everything is already in the cloud
Show in Explorer / Finder
Available — opens the file’s location on disk
Not available
Open with default app
Available — opens the file with your OS’s associated application
Not available
Disk usage
Uses local disk space for the full working copy
No local disk space used
When to use a cloned workspace: Most of the time. If you’re actively developing — writing code, editing assets in a game engine, or using any local tools — you need a cloned workspace so those tools can access the files on disk.When to use a non-cloned workspace: When you only need to browse files, review changes, or manage branches without editing locally. This is useful for lightweight access from a machine where you don’t want to download the full project, or for managing multiple workspaces without duplicating large repositories on disk.You can clone a non-cloned workspace at any time — see Cloning a workspace locally below.
Open the workspace selector at the top-right of the repo view.
2
Click '+ New workspace'
This opens the Create New Workspace dialog.
3
Enter a workspace name
Give your workspace a descriptive name. This is required.In the desktop app, you can also check the Clone this workspace locally option to immediately create a local copy. If you choose to clone, you’ll need to pick a folder name and a directory on your machine.
4
Click 'Create' or 'Create & clone'
The workspace is created from the repository’s default branch. Once it’s ready, you’ll be navigated to the new workspace automatically.
You can work on the same project from several machines — a desktop and a laptop, for example. Set up a separate workspace on each machine rather than sharing one. Seats are per user, not per machine: working from several computers with the same account does not use extra seats.Your machines stay in sync through commits. Uncommitted changes are uploaded to your own cloud workspace as you save, but a workspace on another computer does not get them until you commit. Once committed, every workspace tracking that branch picks them up automatically. To move uncommitted work between machines without committing, use Shelves, which are stored in the cloud and available from any workspace on the same repository.
Don’t share a single workspace between machines via a cloud-synced folder (Dropbox, OneDrive, iCloud, Google Drive), a network drive, or by copying the .diversion directory. Each machine’s agent will fight over the workspace’s state, which can cause files to be deleted, sync loops, or repeated dv reset recoveries.
Sign in with the same account you use on your primary machine.
2
Create a new workspace on that machine
Follow the Creating a new workspace steps and clone it locally. Give it a name that identifies the machine (e.g., main-laptop) so you can tell your workspaces apart.
3
Start working
Your new workspace syncs automatically. See Moving work between your machines below for how changes travel from one machine to the other.
Work travels between your machines through commits:
Commit on the machine you’re working on. Only committed changes upload to the cloud, and only while sync is active — so commit your work (dv commit -a -m "message" or the desktop app) and make sure sync isn’t paused.
Find the changes on the branch they were committed to. Each commit lands on a branch, and a workspace shows only the commits on the branch it’s currently on. To see changes you made on another machine, open the branch selector in the desktop app (or run dv checkout <branch>) and switch to the branch they were committed to.
Let the workspace update. With auto-update on, the workspace pulls new commits automatically — just like a teammate’s workspace would. With it off, click Update to dv.commit.<id> in the workspace header, or run dv update. See Sync status.
Selective Sync decides what lands on disk. A folder left unchecked under the workspace menu’s Selective sync won’t download locally even when its files are committed. See Selective Sync.
You can keep more than one workspace of the same repo on one machine. For example, keep one workspace per branch, or one on each drive. This avoids switching branches in a large project.Each workspace syncs from its own folder.
On the dashboard (click the Diversion logo at the top left), open the Remote Repositories tab, click the … button at the right end of the repo’s row, and select Clone repo. In the Clone repository dialog, keep Select a workspace set to Create new workspace. Choose Create New Folder or Create from Existing Folder, click Browse… to pick a folder that is not inside a workspace, then click Clone.
2
Choose the folders to sync (optional)
Each workspace downloads its own files. To download less, click Choose… in the Folders to sync row and uncheck the folders you do not need. They are never downloaded. See Choose folders before cloning.
3
Switch to your branch
The new workspace starts on the default branch. Switch it in the branch selector, or run dv checkout <branch> in its folder.
With the CLI, clone straight onto your branch: dv clone <repo_id> <path> --new-workspace --ref <branch>. See clone command.
If you run dv in a copy of a workspace folder while the workspace syncs from another folder, the command stops. The error message shows the folder that syncs now.
To sync the copy instead: use Attach workspace in the desktop app. Or run dv unregister in the folder that syncs now, then run dv in the copy.
To work in both folders: clone the repo again with a new workspace. See Set up another workspace.
You can keep a cloned workspace on a USB drive, external SSD, or other detachable drive that mounts as a regular local disk. This lets you carry a workspace between machines without re-cloning, as long as each machine has Diversion installed and you’re signed in with the same account.
1
Clone the workspace to the external drive
When cloning, pick a folder on the external drive as the local location.
2
Use it like any other workspace
With the drive connected and the Diversion agent running, the workspace syncs normally.
3
Re-attach after reconnecting the drive
If the workspace doesn’t appear after you plug the drive back in — or after you connect it to a different machine — use Attach workspace to point Diversion at the workspace folder on the drive.
Click your avatar and select Organization settings, then click Repositories in the left sidebar and Workspaces in the repository column. Make sure the correct repository is selected in the picker at the top of the column. Find the workspace, click the actions menu at the end of its row, and select Rename.
2
Enter a new name
The Rename Workspace dialog shows the current name pre-filled. Type in the new name you’d like.
3
Click 'Rename'
The button is disabled if the name is empty or unchanged, so make sure you’ve actually typed something different.
You can also rename a workspace from the workspace selector on the repo view: open the selector, click the … (more options) menu next to the workspace, and select Rename.
Click your avatar and select Organization settings, then click Repositories in the left sidebar and Workspaces in the repository column. Make sure the correct repository is selected in the picker at the top of the column. Find the workspace, click the actions menu at the end of its row, and select Delete.
2
Confirm deletion
The Delete Workspace dialog asks you to confirm. Keep in mind that all uncommitted changes in the workspace will be lost.
If the workspace is cloned locally, you’ll see an additional warning that your local files will remain on disk but will no longer sync with Diversion. You’ll need to check a confirmation checkbox before proceeding.
3
Click 'Delete'
This action is permanent — the workspace and any uncommitted changes are gone for good.
You can also delete a workspace from the workspace selector on the repo view: open the selector, click the … (more options) menu next to the workspace, and select Delete.
If you have a workspace that isn’t cloned to your machine yet, you can set up a local synced copy at any time.
1
Open the workspace selector
Open the workspace selector at the top-right of the repo view. Workspaces that aren’t cloned on this machine appear under Remote. Hover over the one you want to clone locally, click the … button at the right end of its row, and select Clone.
2
Choose the folders to sync (optional)
The clone dialog has a Folders to sync row showing the workspace’s current selection. Click Choose… to change it before the clone starts, so the folders you leave out are never downloaded. See Selective Sync.
3
Pick a directory
A directory picker opens — choose where you want the local copy to live on your machine.
4
Wait for sync
Diversion creates a local copy and keeps it synced automatically. Any changes you make locally will be reflected in the cloud workspace, and vice versa.
If you moved a repository to a different path on your machine, or if a workspace is not showing up after detaching a portable drive, you can re-attach it to Diversion.
1
Click the 'Attach workspace' button
On the dashboard (click the Diversion logo at the top left), click Attach workspace at the top right, next to New repository.
2
Browse to the workspace folder
A directory picker opens. Navigate to the folder containing your workspace (the folder with a .diversion directory inside it).
3
Click 'Connect'
Diversion will look up the workspace on the server and reconnect it. You’ll see a confirmation message once the workspace is successfully re-attached. The workspace starts syncing from this folder right away.
The workspace folder contains a hidden .diversion directory that Diversion uses to track workspace state. This folder must remain in place and should not be modified or deleted. To verify it exists, enable hidden files in your file explorer (on Windows: View > Show > Hidden items; on macOS: press Cmd+Shift+.). If it is missing, or if the workspace was deleted from the server or you don’t have permission to access it, you’ll see an error message.
If the workspace already syncs from another folder
A workspace syncs from one folder only. If you pick a copy of a workspace folder, for example one you copied to a new drive, the dialog shows the folder that the workspace syncs from now.Click Connect to sync the new folder instead:
Diversion stops syncing the old folder and removes its workspace settings (its .diversion directory). The files in the old folder stay on disk.
The workspace takes the content of the new folder. If a file is different in the two folders, Diversion uploads the version from the new folder. Uncommitted changes that exist only in the old folder are no longer in the workspace.
If Diversion cannot remove the old folder’s workspace settings, the confirmation message says so. The old folder is still not synced.
You can change the folder name without re-cloning by following these steps:
1
Turn off the agent:
Right-click the Diversion icon in your system tray and select Quit, or end the dv.exe task in the Task Manager.
2
Rename the folder:
Change the folder name directly in your file explorer.
3
Restart the agent:
Run the command dv in your command line. It has started successfully when you see Welcome to the interactive Diversion Shell.Alternatively, open the desktop app and click Start agent in the notice at the top right of the app.
4
Reattach your workspace:
Since the folder was renamed, the workspace will not be displayed. Click Attach workspace.
5
Connect to the new path:
Navigate to the path with the new folder name and click Connect.
The workspace appears again on the Local Workspaces tab of the dashboard, with the new folder path.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Diversion Documentation","colors":{"primary":"#477BFF","light":"#477BFF","dark":"#477BFF"},"favicon":"https://mintcdn.com/diversion-2/tgHOXPild1lTdU_m/favicon.png?fit=max\u0026auto=format\u0026n=tgHOXPild1lTdU_m\u0026q=85\u0026s=4271dfd5796806e05703182d78078973","logo":{"light":"https://mintcdn.com/diversion-2/HhHa-PhS49hu7GIa/logo/horizontal_logo_320x132.png?fit=max\u0026auto=format\u0026n=HhHa-PhS49hu7GIa\u0026q=85\u0026s=be87cd16359a5613e36c26398c95e926","dark":"https://mintcdn.com/diversion-2/HhHa-PhS49hu7GIa/logo/horizontal_logo_320x132_white.png?fit=max\u0026auto=format\u0026n=HhHa-PhS49hu7GIa\u0026q=85\u0026s=d78e5d3e0e5c576b1806618be9b653f4","href":"https://docs.diversion.dev"},"navbar":{"links":[{"label":"Support","href":"mailto:hello@diversion.dev"}],"primary":{"type":"button","label":"Login","href":"https://app.diversion.dev/"}},"footer":{"socials":{"x":"https://twitter.com/diversion_hq","linkedin":"https://www.linkedin.com/company/diversion-company-inc/","youtube":"https://www.youtube.com/@diversion-dot-dev"}},"integrations":{"ga4":{"measurementId":"G-1W30D3D2HN"},"gtm":{"tagId":"GTM-5VXJ2P3"},"mixpanel":{"projectToken":"c3706e610ea2343fb341bf4cd4fc2c18"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Blog","href":"https://diversion.dev/blog","icon":"newspaper"},{"anchor":"Community","href":"https://discord.com/invite/HDAGJvgkuT","icon":"discord"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"diversion-2","hasAudioNarration":false,"actualSubdomain":"diversion-2","customDomains":["docs.diversion.dev"],"gitSource":{"type":"github","owner":"diversioncompany","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af07bf91d63cdd7f63d5e29","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Documentation","count":230},{"language":"default","tag":"API Reference","count":122},{"language":"default","tag":"APIリファレンス","count":122},{"language":"default","tag":"CLI Reference","count":49},{"language":"default","tag":"CLI リファレンス","count":49},{"language":"default","tag":"Get Started","count":24},{"language":"default","tag":"はじめに","count":24},{"language":"default","tag":"Reference","count":19},{"language":"default","tag":"リファレンス","count":19},{"language":"default","tag":"Organization Management","count":18}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@diversion.dev","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".bordered-image{width:90%;border-radius:1.5rem;border:.3rem solid #555;box-shadow:0 0 1rem #888}ul.not-prose>li.cursor-pointer>h2.text-sm{font-size:1.5rem}.dark img[src$=\".svg\"],img[src$=\".svg\"]{max-height:80px}"}],"page":{"pagePath":"basic/workspace-management","slug":"/basic/workspace-management","pageMetadata":{"title":"Workspace management","description":"Create, rename, delete, and clone workspaces","href":"/basic/workspace-management"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create, rename, delete, and clone workspaces\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,Step,Steps,Table,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Every collaborator on a repository gets their own workspace — a private space where you can make changes without affecting anyone else. Workspaces keep your uncommitted work separate and synced to the cloud automatically.`}),`\n`,_jsxs(_components.p,{children:[`If you’re not familiar with the concept, check out the `,_jsx(_components.a,{href:`/concepts/repo-branch-workspace`,children:`Repositories, Branches, and Workspaces`}),` page first.`]}),`\n`,_jsx(Warning,{children:`We recommend using a separate workspace for each machine. Cloning the same workspace on multiple machines may lead to sync issues and data loss.`}),`\n`,_jsx(Heading,{level:`2`,id:`cloned-vs-non-cloned-workspaces`,children:`Cloned vs. non-cloned workspaces`}),`\n`,_jsxs(_components.p,{children:[`A workspace can be either `,_jsx(_components.strong,{children:`cloned`}),` (local) or `,_jsx(_components.strong,{children:`non-cloned`}),` (cloud-only). Understanding the difference helps you decide how to set up your workflow.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`Cloned (local)`}),_jsx(_components.th,{children:`Non-cloned (cloud-only)`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Where files live`})}),_jsx(_components.td,{children:`On your machine, synced with the cloud`}),_jsx(_components.td,{children:`Only on the Diversion cloud`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`How to edit files`})}),_jsx(_components.td,{children:`Use any local editor, IDE, or game engine`}),_jsx(_components.td,{children:`Upload files through the web or desktop app`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Auto-sync`})}),_jsx(_components.td,{children:`Changes sync bidirectionally — local edits upload automatically, and remote changes download automatically`}),_jsx(_components.td,{children:`No local sync needed — everything is already in the cloud`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Show in Explorer / Finder`})}),_jsx(_components.td,{children:`Available — opens the file’s location on disk`}),_jsx(_components.td,{children:`Not available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Open with default app`})}),_jsx(_components.td,{children:`Available — opens the file with your OS’s associated application`}),_jsx(_components.td,{children:`Not available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Disk usage`})}),_jsx(_components.td,{children:`Uses local disk space for the full working copy`}),_jsx(_components.td,{children:`No local disk space used`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to use a cloned workspace:`}),` Most of the time. If you’re actively developing — writing code, editing assets in a game engine, or using any local tools — you need a cloned workspace so those tools can access the files on disk.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When to use a non-cloned workspace:`}),` When you only need to browse files, review changes, or manage branches without editing locally. This is useful for lightweight access from a machine where you don’t want to download the full project, or for managing multiple workspaces without duplicating large repositories on disk.`]}),`\n`,_jsxs(_components.p,{children:[`You can clone a non-cloned workspace at any time — see `,_jsx(_components.a,{href:`#cloning-a-workspace-locally-desktop-only`,children:`Cloning a workspace locally`}),` below.`]}),`\n`,_jsx(Heading,{level:`2`,id:`creating-a-new-workspace`,children:`Creating a new workspace`}),`\n`,_jsx(_components.p,{children:`In the Desktop App:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the workspace selector`,children:_jsx(_components.p,{children:`Open the workspace selector at the top-right of the repo view.`})}),_jsx(Step,{title:`Click '+ New workspace'`,children:_jsxs(_components.p,{children:[`This opens the `,_jsx(_components.strong,{children:`Create New Workspace`}),` dialog.`]})}),_jsxs(Step,{title:`Enter a workspace name`,children:[_jsx(_components.p,{children:`Give your workspace a descriptive name. This is required.`}),_jsxs(_components.p,{children:[`In the desktop app, you can also check the `,_jsx(_components.strong,{children:`Clone this workspace locally`}),` option to immediately create a local copy. If you choose to clone, you’ll need to pick a folder name and a directory on your machine.`]})]}),_jsx(Step,{title:`Click 'Create' or 'Create \u0026 clone'`,children:_jsx(_components.p,{children:`The workspace is created from the repository’s default branch. Once it’s ready, you’ll be navigated to the new workspace automatically.`})})]}),`\n`,_jsxs(_components.p,{children:[`For CLI usage, see `,_jsx(_components.a,{href:`/cmd-ref/clone`,children:`clone command`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`working-from-multiple-computers`,children:`Working from multiple computers`}),`\n`,_jsx(_components.p,{children:`You can work on the same project from several machines — a desktop and a laptop, for example. Set up a separate workspace on each machine rather than sharing one. Seats are per user, not per machine: working from several computers with the same account does not use extra seats.`}),`\n`,_jsxs(_components.p,{children:[`Your machines stay in sync through commits. `,_jsx(_components.strong,{children:`Uncommitted changes are uploaded to your own cloud workspace as you save`}),`, but a workspace on another computer does not get them until you commit. Once committed, every workspace tracking that branch picks them up automatically. To move `,_jsx(_components.em,{children:`uncommitted`}),` work between machines without committing, use `,_jsx(_components.a,{href:`/basic/shelves`,children:`Shelves`}),`, which are stored in the cloud and available from any workspace on the same repository.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Don’t share a single workspace between machines via a cloud-synced folder (Dropbox, OneDrive, iCloud, Google Drive), a network drive, or by copying the `,_jsx(_components.code,{children:`.diversion`}),` directory. Each machine’s agent will fight over the workspace’s state, which can cause files to be deleted, sync loops, or repeated `,_jsx(_components.code,{children:`dv reset`}),` recoveries.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`set-up-a-second-machine`,children:`Set up a second machine`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Install Diversion on the second machine`,children:_jsx(_components.p,{children:`Sign in with the same account you use on your primary machine.`})}),_jsx(Step,{title:`Create a new workspace on that machine`,children:_jsxs(_components.p,{children:[`Follow the `,_jsx(_components.a,{href:`#creating-a-new-workspace`,children:`Creating a new workspace`}),` steps and clone it locally. Give it a name that identifies the machine (e.g., `,_jsx(_components.code,{children:`main-laptop`}),`) so you can tell your workspaces apart.`]})}),_jsx(Step,{title:`Start working`,children:_jsxs(_components.p,{children:[`Your new workspace syncs automatically. See `,_jsx(_components.a,{href:`#moving-work-between-your-machines`,children:`Moving work between your machines`}),` below for how changes travel from one machine to the other.`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`moving-work-between-your-machines`,children:`Moving work between your machines`}),`\n`,_jsx(_components.p,{children:`Work travels between your machines through commits:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Commit on the machine you’re working on.`}),` Only committed changes upload to the cloud, and only while sync is active — so commit your work (`,_jsx(_components.code,{children:`dv commit -a -m \"message\"`}),` or the desktop app) and make sure sync isn’t paused.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Find the changes on the branch they were committed to.`}),` Each commit lands on a branch, and a workspace shows only the commits on the branch it’s currently on. To see changes you made on another machine, open the `,_jsx(_components.strong,{children:`branch selector`}),` in the desktop app (or run `,_jsx(_components.code,{children:`dv checkout \u003cbranch>`}),`) and switch to the branch they were committed to.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Let the workspace update.`}),` With `,_jsx(_components.a,{href:`/concepts/syncing#workspace-automatic-update`,children:`auto-update`}),` on, the workspace pulls new commits automatically — just like a teammate’s workspace would. With it off, click `,_jsxs(_components.strong,{children:[`Update to `,_jsx(_components.code,{children:`dv.commit.\u003cid>`})]}),` in the workspace header, or run `,_jsx(_components.code,{children:`dv update`}),`. See `,_jsx(_components.a,{href:`/basic/sync-status#newer-commits-on-the-branch`,children:`Sync status`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Selective Sync decides what lands on disk.`}),` A folder left unchecked under the workspace menu’s `,_jsx(_components.strong,{children:`Selective sync`}),` won’t download locally even when its files are committed. See `,_jsx(_components.a,{href:`/advanced/selective-sync`,children:`Selective Sync`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`multiple-workspaces-on-the-same-machine`,children:`Multiple workspaces on the same machine`}),`\n`,_jsx(_components.p,{children:`You can keep more than one workspace of the same repo on one machine. For example, keep one workspace per branch, or one on each drive. This avoids switching branches in a large project.`}),`\n`,_jsx(_components.p,{children:`Each workspace syncs from its own folder.`}),`\n`,_jsx(Heading,{level:`3`,id:`set-up-another-workspace`,children:`Set up another workspace`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Clone the repo again with a new workspace`,children:_jsxs(_components.p,{children:[`On the dashboard (click the Diversion logo at the top left), open the `,_jsx(_components.strong,{children:`Remote Repositories`}),` tab, click the `,_jsx(_components.strong,{children:`…`}),` button at the right end of the repo’s row, and select `,_jsx(_components.strong,{children:`Clone repo`}),`. In the `,_jsx(_components.strong,{children:`Clone repository`}),` dialog, keep `,_jsx(_components.strong,{children:`Select a workspace`}),` set to `,_jsx(_components.strong,{children:`Create new workspace`}),`. Choose `,_jsx(_components.strong,{children:`Create New Folder`}),` or `,_jsx(_components.strong,{children:`Create from Existing Folder`}),`, click `,_jsx(_components.strong,{children:`Browse…`}),` to pick a folder that is not inside a workspace, then click `,_jsx(_components.strong,{children:`Clone`}),`.`]})}),_jsx(Step,{title:`Choose the folders to sync (optional)`,children:_jsxs(_components.p,{children:[`Each workspace downloads its own files. To download less, click `,_jsx(_components.strong,{children:`Choose…`}),` in the `,_jsx(_components.strong,{children:`Folders to sync`}),` row and uncheck the folders you do not need. They are never downloaded. See `,_jsx(_components.a,{href:`/advanced/selective-sync#choose-folders-before-cloning`,children:`Choose folders before cloning`}),`.`]})}),_jsx(Step,{title:`Switch to your branch`,children:_jsxs(_components.p,{children:[`The new workspace starts on the default branch. Switch it in the branch selector, or run `,_jsx(_components.code,{children:`dv checkout \u003cbranch>`}),` in its folder.`]})})]}),`\n`,_jsxs(_components.p,{children:[`With the CLI, clone straight onto your branch: `,_jsx(_components.code,{children:`dv clone \u003crepo_id> \u003cpath> --new-workspace --ref \u003cbranch>`}),`. See `,_jsx(_components.a,{href:`/cmd-ref/clone`,children:`clone command`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`copied-workspace-folder`,children:`Copied workspace folder`}),`\n`,_jsxs(_components.p,{children:[`If you run `,_jsx(_components.code,{children:`dv`}),` in a copy of a workspace folder while the workspace syncs from another folder, the command stops. The error message shows the folder that syncs now.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To sync the copy instead:`}),` use `,_jsx(_components.a,{href:`#attaching-a-workspace-desktop-only`,children:`Attach workspace`}),` in the desktop app. Or run `,_jsx(_components.a,{href:`/cmd-ref/unregister`,children:_jsx(_components.code,{children:`dv unregister`})}),` in the folder that syncs now, then run `,_jsx(_components.code,{children:`dv`}),` in the copy.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To work in both folders:`}),` clone the repo again with a new workspace. See `,_jsx(_components.a,{href:`#set-up-another-workspace`,children:`Set up another workspace`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`workspaces-on-external-storage`,children:`Workspaces on external storage`}),`\n`,_jsx(_components.p,{children:`You can keep a cloned workspace on a USB drive, external SSD, or other detachable drive that mounts as a regular local disk. This lets you carry a workspace between machines without re-cloning, as long as each machine has Diversion installed and you’re signed in with the same account.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Clone the workspace to the external drive`,children:_jsx(_components.p,{children:`When cloning, pick a folder on the external drive as the local location.`})}),_jsx(Step,{title:`Use it like any other workspace`,children:_jsx(_components.p,{children:`With the drive connected and the Diversion agent running, the workspace syncs normally.`})}),_jsx(Step,{title:`Re-attach after reconnecting the drive`,children:_jsxs(_components.p,{children:[`If the workspace doesn’t appear after you plug the drive back in — or after you connect it to a different machine — use `,_jsx(_components.a,{href:`#attaching-a-workspace-desktop-only`,children:`Attach workspace`}),` to point Diversion at the workspace folder on the drive.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`renaming-a-workspace`,children:`Renaming a workspace`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the Workspaces page`,children:_jsxs(_components.p,{children:[`Click your avatar and select `,_jsx(_components.strong,{children:`Organization settings`}),`, then click `,_jsx(_components.strong,{children:`Repositories`}),` in the left sidebar and `,_jsx(_components.strong,{children:`Workspaces`}),` in the repository column. Make sure the correct repository is selected in the picker at the top of the column. Find the workspace, click the actions menu at the end of its row, and select `,_jsx(_components.strong,{children:`Rename`}),`.`]})}),_jsx(Step,{title:`Enter a new name`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Rename Workspace`}),` dialog shows the current name pre-filled. Type in the new name you’d like.`]})}),_jsx(Step,{title:`Click 'Rename'`,children:_jsx(_components.p,{children:`The button is disabled if the name is empty or unchanged, so make sure you’ve actually typed something different.`})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`You can also rename a workspace from the workspace selector on the repo view: open the selector, click the `,_jsx(_components.strong,{children:`…`}),` (more options) menu next to the workspace, and select `,_jsx(_components.strong,{children:`Rename`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`For CLI usage, see `,_jsx(_components.a,{href:`/cmd-ref/workspace`,children:`workspace command`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`deleting-a-workspace`,children:`Deleting a workspace`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the Workspaces page`,children:_jsxs(_components.p,{children:[`Click your avatar and select `,_jsx(_components.strong,{children:`Organization settings`}),`, then click `,_jsx(_components.strong,{children:`Repositories`}),` in the left sidebar and `,_jsx(_components.strong,{children:`Workspaces`}),` in the repository column. Make sure the correct repository is selected in the picker at the top of the column. Find the workspace, click the actions menu at the end of its row, and select `,_jsx(_components.strong,{children:`Delete`}),`.`]})}),_jsx(Step,{title:`Confirm deletion`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Delete Workspace`}),` dialog asks you to confirm. Keep in mind that all uncommitted changes in the workspace will be lost.\nIf the workspace is cloned locally, you’ll see an additional warning that your local files will remain on disk but will no longer sync with Diversion. You’ll need to check a confirmation checkbox before proceeding.`]})}),_jsx(Step,{title:`Click 'Delete'`,children:_jsx(_components.p,{children:`This action is permanent — the workspace and any uncommitted changes are gone for good.`})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`You can also delete a workspace from the workspace selector on the repo view: open the selector, click the `,_jsx(_components.strong,{children:`…`}),` (more options) menu next to the workspace, and select `,_jsx(_components.strong,{children:`Delete`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`For CLI usage, see `,_jsx(_components.a,{href:`/cmd-ref/workspace`,children:`workspace command`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cloning-a-workspace-locally-desktop-only`,children:`Cloning a workspace locally (Desktop only)`}),`\n`,_jsx(_components.p,{children:`If you have a workspace that isn’t cloned to your machine yet, you can set up a local synced copy at any time.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the workspace selector`,children:_jsxs(_components.p,{children:[`Open the workspace selector at the top-right of the repo view. Workspaces that aren’t cloned on this machine appear under `,_jsx(_components.strong,{children:`Remote`}),`. Hover over the one you want to clone locally, click the `,_jsx(_components.strong,{children:`…`}),` button at the right end of its row, and select `,_jsx(_components.strong,{children:`Clone`}),`.`]})}),_jsx(Step,{title:`Choose the folders to sync (optional)`,children:_jsxs(_components.p,{children:[`The clone dialog has a `,_jsx(_components.strong,{children:`Folders to sync`}),` row showing the workspace’s current selection. Click `,_jsx(_components.strong,{children:`Choose…`}),` to change it before the clone starts, so the folders you leave out are never downloaded. See `,_jsx(_components.a,{href:`/advanced/selective-sync#choose-folders-before-cloning`,children:`Selective Sync`}),`.`]})}),_jsx(Step,{title:`Pick a directory`,children:_jsx(_components.p,{children:`A directory picker opens — choose where you want the local copy to live on your machine.`})}),_jsx(Step,{title:`Wait for sync`,children:_jsx(_components.p,{children:`Diversion creates a local copy and keeps it synced automatically. Any changes you make locally will be reflected in the cloud workspace, and vice versa.`})})]}),`\n`,_jsxs(_components.p,{children:[`For CLI usage, see `,_jsx(_components.a,{href:`/cmd-ref/clone`,children:`clone command`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`attaching-a-workspace-desktop-only`,children:`Attaching a workspace (Desktop only)`}),`\n`,_jsx(_components.p,{children:`If you moved a repository to a different path on your machine, or if a workspace is not showing up after detaching a portable drive, you can re-attach it to Diversion.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Click the 'Attach workspace' button`,children:_jsxs(_components.p,{children:[`On the dashboard (click the Diversion logo at the top left), click `,_jsx(_components.strong,{children:`Attach workspace`}),` at the top right, next to `,_jsx(_components.strong,{children:`New repository`}),`.`]})}),_jsx(Step,{title:`Browse to the workspace folder`,children:_jsxs(_components.p,{children:[`A directory picker opens. Navigate to the folder containing your workspace (the folder with a `,_jsx(_components.code,{children:`.diversion`}),` directory inside it).`]})}),_jsx(Step,{title:`Click 'Connect'`,children:_jsx(_components.p,{children:`Diversion will look up the workspace on the server and reconnect it. You’ll see a confirmation message once the workspace is successfully re-attached. The workspace starts syncing from this folder right away.`})})]}),`\n`,_jsxs(Note,{children:[`The workspace folder contains a hidden `,_jsx(_components.code,{children:`.diversion`}),` directory that Diversion uses to track workspace state. This folder must remain in place and should not be modified or deleted. To verify it exists, enable hidden files in your file explorer (on Windows: View > Show > Hidden items; on macOS: press Cmd+Shift+.). If it is missing, or if the workspace was deleted from the server or you don’t have permission to access it, you’ll see an error message.`]}),`\n`,_jsx(Heading,{level:`3`,id:`if-the-workspace-already-syncs-from-another-folder`,children:`If the workspace already syncs from another folder`}),`\n`,_jsx(_components.p,{children:`A workspace syncs from one folder only. If you pick a copy of a workspace folder, for example one you copied to a new drive, the dialog shows the folder that the workspace syncs from now.`}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Connect`}),` to sync the new folder instead:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Diversion stops syncing the old folder and removes its workspace settings (its `,_jsx(_components.code,{children:`.diversion`}),` directory). The files in the old folder stay on disk.`]}),`\n`,_jsx(_components.li,{children:`The workspace takes the content of the new folder. If a file is different in the two folders, Diversion uploads the version from the new folder. Uncommitted changes that exist only in the old folder are no longer in the workspace.`}),`\n`,_jsx(_components.li,{children:`If Diversion cannot remove the old folder’s workspace settings, the confirmation message says so. The old folder is still not synced.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Cancel`}),` to keep syncing the old folder.`]}),`\n`,_jsx(Heading,{level:`2`,id:`change-the-folder-name-without-re-cloning`,children:`Change the folder name without re-cloning`}),`\n`,_jsx(_components.p,{children:`You can change the folder name without re-cloning by following these steps:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Turn off the agent:`,children:_jsxs(_components.p,{children:[`Right-click the Diversion icon in your system tray and select `,_jsx(_components.em,{children:`Quit`}),`, or end the dv.exe task in the Task Manager.`]})}),_jsx(Step,{title:`Rename the folder:`,children:_jsx(_components.p,{children:`Change the folder name directly in your file explorer.`})}),_jsxs(Step,{title:`Restart the agent:`,children:[_jsxs(_components.p,{children:[`Run the command `,_jsx(_components.code,{children:`dv`}),` in your command line. It has started successfully when you see `,_jsx(_components.strong,{children:`Welcome to the interactive Diversion Shell`}),`.`]}),_jsxs(_components.p,{children:[`Alternatively, open the desktop app and click `,_jsx(_components.strong,{children:`Start agent`}),` in the notice at the top right of the app.`]})]}),_jsx(Step,{title:`Reattach your workspace:`,children:_jsxs(_components.p,{children:[`Since the folder was renamed, the workspace will not be displayed. Click `,_jsx(_components.strong,{children:`Attach workspace`}),`.`]})}),_jsx(Step,{title:`Connect to the new path:`,children:_jsxs(_components.p,{children:[`Navigate to the path with the new folder name and click `,_jsx(_components.strong,{children:`Connect`}),`.`]})})]}),`\n`,_jsxs(_components.p,{children:[`The workspace appears again on the `,_jsx(_components.strong,{children:`Local Workspaces`}),` tab of the dashboard, with the new folder path.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Workspace management","description":"Create, rename, delete, and clone workspaces","href":"/basic/workspace-management"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Cloned vs. non-cloned workspaces","slug":"cloned-vs-non-cloned-workspaces","depth":2,"children":[]},{"title":"Creating a new workspace","slug":"creating-a-new-workspace","depth":2,"children":[]},{"title":"Working from multiple computers","slug":"working-from-multiple-computers","depth":2,"children":[{"title":"Set up a second machine","slug":"set-up-a-second-machine","depth":3,"children":[]},{"title":"Moving work between your machines","slug":"moving-work-between-your-machines","depth":3,"children":[]}]},{"title":"Multiple workspaces on the same machine","slug":"multiple-workspaces-on-the-same-machine","depth":2,"children":[{"title":"Set up another workspace","slug":"set-up-another-workspace","depth":3,"children":[]},{"title":"Copied workspace folder","slug":"copied-workspace-folder","depth":3,"children":[]}]},{"title":"Workspaces on external storage","slug":"workspaces-on-external-storage","depth":2,"children":[]},{"title":"Renaming a workspace","slug":"renaming-a-workspace","depth":2,"children":[]},{"title":"Deleting a workspace","slug":"deleting-a-workspace","depth":2,"children":[]},{"title":"Cloning a workspace locally (Desktop only)","slug":"cloning-a-workspace-locally-desktop-only","depth":2,"children":[]},{"title":"Attaching a workspace (Desktop only)","slug":"attaching-a-workspace-desktop-only","depth":2,"children":[{"title":"If the workspace already syncs from another folder","slug":"if-the-workspace-already-syncs-from-another-folder","depth":3,"children":[]}]},{"title":"Change the folder name without re-cloning","slug":"change-the-folder-name-without-re-cloning","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"diversion-2","siteName":"Diversion Documentation","title":"Workspace management - Diversion Documentation","navMaps":{"firstHrefInVersion":{"English":{"href":"/basic/workspace-management","matchLevel":0},"日本語":{"href":"/ja/basic/workspace-management","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T13:02:20.352Z","originalFileLocation":"basic/workspace-management.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create, rename, delete, and clone workspaces\">\u003cmeta data-mint-head name=\"application-name\" content=\"Diversion Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Workspace management - Diversion Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create, rename, delete, and clone workspaces\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Diversion Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.diversion.dev/basic/workspace-management\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://diversion-2.mintlify.site/_mintlify/api/og/v2?division=Basic+Workflows\u0026amp;title=Workspace+management\u0026amp;description=Create%2C+rename%2C+delete%2C+and+clone+workspaces\u0026amp;theme=95aafe95d96a16a477000f08\u0026amp;signature=e35bdbf5446fa2697d5de8d6461ec61e59efc81fd530728b6f8e3f755f795e93\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Workspace management - Diversion Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create, rename, delete, and clone workspaces\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://diversion-2.mintlify.site/_mintlify/api/og/v2?division=Basic+Workflows\u0026amp;title=Workspace+management\u0026amp;description=Create%2C+rename%2C+delete%2C+and+clone+workspaces\u0026amp;theme=95aafe95d96a16a477000f08\u0026amp;signature=e35bdbf5446fa2697d5de8d6461ec61e59efc81fd530728b6f8e3f755f795e93\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/diversion-2/vKXxuH8JnoQczpOe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Diversion Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#477BFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.diversion.dev/basic/workspace-management\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/basic/workspace-management.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.diversion.dev/#organization\",\"name\":\"Diversion Documentation\",\"url\":\"https://docs.diversion.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/diversion-2/HhHa-PhS49hu7GIa/logo/horizontal_logo_320x132.png?fit=max\u0026auto=format\u0026n=HhHa-PhS49hu7GIa\u0026q=85\u0026s=be87cd16359a5613e36c26398c95e926\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.diversion.dev#website\",\"name\":\"Diversion Documentation\",\"url\":\"https://docs.diversion.dev\",\"publisher\":{\"@id\":\"https://docs.diversion.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.diversion.dev/basic/workspace-management#webpage\",\"url\":\"https://docs.diversion.dev/basic/workspace-management\",\"name\":\"Workspace management\",\"description\":\"Create, rename, delete, and clone workspaces\",\"dateModified\":\"2026-11-08T13:02:20.352Z\",\"isPartOf\":{\"@id\":\"https://docs.diversion.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.diversion.dev/basic/workspace-management#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.diversion.dev/basic/workspace-management#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.diversion.dev/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Basic Workflows\",\"item\":\"https://docs.diversion.dev/basic/start-using-diversion\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Workspace management\",\"item\":\"https://docs.diversion.dev/basic/workspace-management\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.diversion.dev/basic/workspace-management#article\",\"headline\":\"Workspace management\",\"name\":\"Workspace management\",\"description\":\"Create, rename, delete, and clone workspaces\",\"url\":\"https://docs.diversion.dev/basic/workspace-management\",\"mainEntityOfPage\":{\"@id\":\"https://docs.diversion.dev/basic/workspace-management#webpage\"},\"dateModified\":\"2026-11-08T13:02:20.352Z\",\"publisher\":{\"@id\":\"https://docs.diversion.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.diversion.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Diversion Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Diversion Documentation","nav":{"global":{"anchors":[{"anchor":"Blog","href":"https://diversion.dev/blog","icon":"newspaper"},{"anchor":"Community","href":"https://discord.com/invite/HDAGJvgkuT","icon":"discord"}]},"versions":[{"version":"English","default":true,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","mode":"wide","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Agent Quickstart","href":"/agent-quickstart"},{"group":"Basic Workflows","pages":[{"title":"Start using Diversion in your project","href":"/basic/start-using-diversion"},{"title":"Repository management","href":"/basic/repo-management"},{"title":"Get an existing project","href":"/basic/get-existing-project"},{"title":"Manage project access","href":"/basic/manage-project-access"},{"title":"What to do with your changes","href":"/basic/what-to-do-with-your-changes"},{"title":"Working in parallel","href":"/basic/working-in-parallel"},{"title":"Going back in time","href":"/basic/going-back-in-time"},{"title":"Tags","href":"/basic/tags"},{"title":"Undo pending changes","href":"/basic/undo-pending-changes"},{"title":"Changing the past","description":"How to undo, cherry-pick, edit, or copy details from a previous commit","href":"/basic/changing-the-past"},{"title":"Workspace management","href":"/basic/workspace-management"},{"title":"Quick access","description":"Jump to a repository, branch, workspace, commit, or setting with Ctrl+K","href":"/basic/quick-access"},{"title":"Find files","href":"/basic/find-files"}]},{"title":"Import from Git","href":"/basic/import-from-git"},{"title":"Import from Git LFS","href":"/basic/import-from-git-lfs"},{"title":"Import from Perforce","href":"/basic/import-from-perforce"},{"title":"Choosing Your Plan","href":"/choosing-your-plan"},{"title":"Invoices and billing","href":"/basic/invoices"},{"title":"Delete your account","href":"/basic/delete-account"},{"title":"System Messages","href":"/system-messages"},{"title":"FAQs","href":"/faqs"}]},{"group":"AI","pages":[{"title":"SlothBot","href":"/slothbot"},{"title":"AI Reviews with SlothBot","href":"/advanced/ai-reviews"},{"title":"Resolve Conflicts with AI","href":"/advanced/ai-conflict-resolution"},{"title":"Claude Code session transcripts","href":"/advanced/claude-code-session-transcripts"}]},{"group":"Collaborate","pages":[{"title":"Reviews","href":"/basic/reviews"},{"title":"Draft Commits","href":"/basic/draft-commits"},{"title":"Conflicts","href":"/concepts/conflicts"},{"title":"Soft Locks","href":"/soft-locks"},{"title":"Hard Locks","href":"/hard-locks"},{"title":"Permission Modes","href":"/collaboration/permission-modes"},{"title":"Access Levels","href":"/basic/access-levels"},{"title":"Granular Permissions","href":"/basic/granular-permissions"},{"title":"Branch Protection","href":"/basic/branch-protection"},{"title":"Organization management","href":"/basic/organization-management"},{"title":"Groups","href":"/basic/groups"}]},{"group":"Work with Unreal Engine","pages":[{"title":"Unreal Engine Plugin","href":"/unreal/unreal-engine-plugin"},{"title":"UE Plugin - Solving Merge Conflicts With Diversion","href":"/unreal/ue-plugin-merge-conflicts"},{"title":"Set up Horde with Diversion (Windows, UE5 Source)","href":"/unreal/horde-setup"}]},{"group":"Work with Unity","pages":[{"title":"Unity Plugin","href":"/unity/unity-plugin"},{"title":"Unity Best Practices with Diversion","href":"/unity/unity-best-practices"}]},{"group":"Integrations","pages":[{"title":"Plugins","href":"/integrations/overview"},{"title":"JetBrains IDEs","href":"/integrations/jetbrains-plugin"},{"title":"Set up TeamCity with Diversion","href":"/integrations/teamcity"}]},{"group":"Reference","pages":[{"group":"Core Concepts","pages":[{"title":"Repositories, Branches, and Workspaces","href":"/concepts/repo-branch-workspace"},{"title":"Branching and Merging","href":"/core-concepts/branching-merging"},{"title":"Storage","href":"/concepts/storage"},{"title":"Syncing","href":"/concepts/syncing"}]},{"title":"File Preview","href":"/advanced/asset_preview"},{"title":"CI/CD","href":"/ci-cd"},{"title":"Webhooks","href":"/webhooks"},{"title":"Sync status","href":"/basic/sync-status"},{"title":"Pause/Resume sync","href":"/basic/sync-pause-resume"},{"title":"The .dvignore file","href":"/basic/dvignore"},{"title":"Selective Sync","href":"/advanced/selective-sync"},{"title":"Cache Servers","href":"/advanced/cache-servers"},{"title":"Submodules","href":"/advanced/submodules"},{"title":"Pre-Commit Hooks","href":"/advanced/pre-commit-hooks"},{"title":"External Merge Tools","href":"/advanced/external-merge-tools"},{"title":"Resolve Conflicts with AI","href":"/advanced/ai-conflict-resolution"},{"title":"Obliterate","href":"/advanced/obliterate"},{"title":"Revision Limits","href":"/advanced/revision-limits"},{"title":"Shelves","href":"/basic/shelves"}]},{"group":"CLI Reference","pages":[{"title":"Overview","href":"/cmd-ref/about-cmd"},{"group":"Repository Commands","pages":[{"title":"init","href":"/cmd-ref/init"},{"title":"clone","href":"/cmd-ref/clone"},{"title":"status","href":"/cmd-ref/status"},{"title":"repo","href":"/cmd-ref/repo"}]},{"group":"Workspace Commands","pages":[{"title":"workspace","href":"/cmd-ref/workspace"},{"title":"checkout","href":"/cmd-ref/checkout"},{"title":"preferences","href":"/cmd-ref/preferences"}]},{"group":"Commit \u0026 Branch Commands","pages":[{"title":"commit","href":"/cmd-ref/commit"},{"title":"branch","href":"/cmd-ref/branch"},{"title":"branch-name","href":"/cmd-ref/branch-name"},{"title":"log","href":"/cmd-ref/log"},{"title":"show","href":"/cmd-ref/show"},{"title":"diff","href":"/cmd-ref/diff"},{"title":"annotate","href":"/cmd-ref/annotate"},{"title":"merge","href":"/cmd-ref/merge"},{"title":"merge-preview","href":"/cmd-ref/merge-preview"},{"title":"merge-tool","href":"/cmd-ref/merge-tool"},{"title":"revert","href":"/cmd-ref/revert"},{"title":"revert-to-commit","href":"/cmd-ref/revert-to-commit"},{"title":"cherry-pick","href":"/cmd-ref/cherry-pick"},{"title":"reset","href":"/cmd-ref/reset"},{"title":"restore","href":"/cmd-ref/restore"},{"title":"clean","href":"/cmd-ref/clean"},{"title":"tag","href":"/cmd-ref/tag"},{"title":"shelf","href":"/cmd-ref/shelf"}]},{"group":"Collaboration Commands","pages":[{"title":"review","href":"/cmd-ref/review"},{"title":"lock","href":"/cmd-ref/lock"},{"title":"share","href":"/cmd-ref/share"},{"title":"invite","href":"/cmd-ref/invite"}]},{"group":"File Commands","pages":[{"title":"ls","href":"/cmd-ref/ls"},{"title":"view","href":"/cmd-ref/view"},{"title":"cd","href":"/cmd-ref/cd"},{"title":"mkdir","href":"/cmd-ref/mkdir"},{"title":"rm","href":"/cmd-ref/rm"},{"title":"mv","href":"/cmd-ref/mv"}]},{"group":"Advanced Commands","pages":[{"title":"import","href":"/cmd-ref/import"},{"title":"obliterate","href":"/cmd-ref/obliterate"},{"title":"prune","href":"/cmd-ref/prune"},{"title":"update","href":"/cmd-ref/update"},{"title":"verify","href":"/cmd-ref/verify"},{"title":"support","href":"/cmd-ref/support"},{"title":"unregister","href":"/cmd-ref/unregister"}]},{"group":"Utility Commands","pages":[{"title":"help","href":"/cmd-ref/help"},{"title":"version","href":"/cmd-ref/version"},{"title":"login","href":"/cmd-ref/login"},{"title":"authenticate","href":"/cmd-ref/authenticate"},{"title":"logout","href":"/cmd-ref/logout"},{"title":"feedback","href":"/cmd-ref/feedback"}]}]},{"group":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},{"version":"日本語","default":null,"pages":[{"title":"日本語","href":"/ja/basic/workspace-management"}]}]},"basePath":"","title":"Workspace management - Diversion Documentation","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}