List, add, edit, or remove revision-limit rules for a repository (organization admins only).
The prune command manages revision-limit rules: per-pattern rules that keep only the latest N versions of matching files and prune older ones. For the concepts, branch-safe counting, and glob syntax, see the Revision Limits guide.
Pruning permanently deletes older file versions and cannot be undone. It runs automatically after every commit, with no prompt. Check a repo’s rules with dv prune list before you rely on them.
Requirements:
Revision limits are available on Studio and Enterprise plans.
Revision limits are not supported on repositories synced with Git.
Rules are an ordered list. When more than one rule matches a path, the last matching rule wins. Adding a rule appends it to the end (highest priority). Each rule has a server-assigned id that list prints and that set / remove take.
Prints an ID, PATTERN, and KEEP column per rule. KEEP is a number, or all for a rule that keeps every version. With no rules, it prints No retention rules configured.list is the default subcommand — plain dv prune does the same thing.
<pattern> is a repo-root-anchored glob (e.g. /Assets/....psd). Quote it so your shell does not expand the wildcards. See glob syntax.--keep is required:
<N> — keep the latest N versions (1 to 999).
all — keep every version (never prune). Use it to carve a path out of a broader limit.
The new rule is appended, so it takes priority over earlier matching rules.Example:
Adding a rule applies it to future commits. It does not prune versions that already exceed the new limit; those are pruned as later commits touch each matching file.
Pruning runs in the background after each commit and is silent for the committer.
For the full conceptual guide and Perforce +S migration, see Revision Limits.
{"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":""},"chroma":{"liveDeploymentHistoryId":"6ae1cbc55ca9b4a2f4631c78","collectionId":"7f676a57-ceb9-46a2-b1e7-3f31d686b5df","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1cbc55ca9b4a2f4631c78"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1cbc55ca9b4a2f4631c78","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Documentation","count":221},{"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":23},{"language":"default","tag":"はじめに","count":22},{"language":"default","tag":"Reference","count":19},{"language":"default","tag":"Organization Management","count":18},{"language":"default","tag":"Commit \u0026 Branch Commands","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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","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":"cmd-ref/prune","slug":"/cmd-ref/prune","pageMetadata":{"title":"prune","description":"List, add, edit, or remove revision-limit rules for a repository (organization admins only).","href":"/cmd-ref/prune"},"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: \"List, add, edit, or remove revision-limit rules for a repository (organization admins only).\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`prune`}),` command manages `,_jsx(_components.strong,{children:`revision-limit rules`}),`: per-pattern rules that keep only the latest N versions of matching files and prune older ones. For the concepts, branch-safe counting, and glob syntax, see the `,_jsx(_components.a,{href:`/advanced/revision-limits`,children:`Revision Limits guide`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Pruning permanently deletes older file versions and cannot be undone. It runs automatically after every commit, with no prompt. Check a repo’s rules with `,_jsx(_components.code,{children:`dv prune list`}),` before you rely on them.`]})}),`\n`,_jsx(_components.p,{children:`Requirements:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Revision limits are available on Studio and Enterprise plans.`}),`\n`,_jsxs(_components.li,{children:[`You must be an `,_jsx(_components.a,{href:`/basic/access-levels#organization-level-access`,children:_jsx(_components.strong,{children:`organization admin`})}),`.`]}),`\n`,_jsx(_components.li,{children:`Revision limits are not supported on repositories synced with Git.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Rules are an ordered list. When more than one rule matches a path, the `,_jsx(_components.strong,{children:`last matching rule wins`}),`. Adding a rule appends it to the end (highest priority). Each rule has a server-assigned `,_jsx(_components.code,{children:`id`}),` that `,_jsx(_components.code,{children:`list`}),` prints and that `,_jsx(_components.code,{children:`set`}),` / `,_jsx(_components.code,{children:`remove`}),` take.`]}),`\n`,_jsx(Heading,{level:`2`,id:`list`,children:`list`}),`\n`,_jsx(_components.p,{children:`Show every rule, in priority order.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Prints an `,_jsx(_components.code,{children:`ID`}),`, `,_jsx(_components.code,{children:`PATTERN`}),`, and `,_jsx(_components.code,{children:`KEEP`}),` column per rule. `,_jsx(_components.code,{children:`KEEP`}),` is a number, or `,_jsx(_components.code,{children:`all`}),` for a rule that keeps every version. With no rules, it prints `,_jsx(_components.code,{children:`No retention rules configured.`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`list`}),` is the default subcommand — plain `,_jsx(_components.code,{children:`dv prune`}),` does the same thing.`]}),`\n`,_jsx(Heading,{level:`2`,id:`add`,children:`add`}),`\n`,_jsx(_components.p,{children:`Add a rule.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`patter`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --keep`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`N`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`all`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\u003cpattern>`}),` is a repo-root-anchored glob (e.g. `,_jsx(_components.code,{children:`/Assets/....psd`}),`). Quote it so your shell does not expand the wildcards. See `,_jsx(_components.a,{href:`/advanced/revision-limits#glob-syntax`,children:`glob syntax`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--keep`}),` is required:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\u003cN>`}),` — keep the latest `,_jsx(_components.code,{children:`N`}),` versions (`,_jsx(_components.code,{children:`1`}),` to `,_jsx(_components.code,{children:`999`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`all`}),` — keep every version (never prune). Use it to carve a path out of a broader limit.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The new rule is appended, so it takes priority over earlier matching rules.`}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/....pak\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --keep`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/Assets/Textures/....exr\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --keep`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`set`,children:`set`}),`\n`,_jsx(_components.p,{children:`Edit a rule by id.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--keep `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`N`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`all`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`]`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--pattern `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`patter`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`]`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\u003cid>`}),` is a rule id from `,_jsx(_components.code,{children:`dv prune list`}),`. Pass `,_jsx(_components.code,{children:`--keep`}),`, `,_jsx(_components.code,{children:`--pattern`}),`, or both — at least one is required.`]}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 3f2a9c14`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --keep`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 3f2a9c14`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --pattern`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/Assets/....psd\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`remove`,children:`remove`}),`\n`,_jsx(_components.p,{children:`Delete a rule by id.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` remove`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prune`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` remove`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 3f2a9c14`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Adding a rule applies it to `,_jsx(_components.strong,{children:`future`}),` commits. It does not prune versions that already exceed the new limit; those are pruned as later commits touch each matching file.`]}),`\n`,_jsx(_components.li,{children:`Pruning runs in the background after each commit and is silent for the committer.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For the full conceptual guide and Perforce `,_jsx(_components.code,{children:`+S`}),` migration, see `,_jsx(_components.a,{href:`/advanced/revision-limits`,children:`Revision Limits`}),`.`]})]})}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":"prune","description":"List, add, edit, or remove revision-limit rules for a repository (organization admins only).","href":"/cmd-ref/prune"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"list","slug":"list","depth":2,"children":[]},{"title":"add","slug":"add","depth":2,"children":[]},{"title":"set","slug":"set","depth":2,"children":[]},{"title":"remove","slug":"remove","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"diversion-2","siteName":"Diversion Documentation","title":"prune - Diversion Documentation","navMaps":{"firstHrefInVersion":{"English":{"href":"/cmd-ref/prune","matchLevel":0},"日本語":{"href":"/ja/cmd-ref/prune","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-09-16T05:27:54.974Z","originalFileLocation":"cmd-ref/prune.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=\"List, add, edit, or remove revision-limit rules for a repository (organization admins only).\">\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=\"prune - Diversion Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"List, add, edit, or remove revision-limit rules for a repository (organization admins only).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Diversion Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.diversion.dev/cmd-ref/prune\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://diversion-2.mintlify.app/_mintlify/api/og/v2?division=Advanced+Commands\u0026amp;title=prune\u0026amp;description=List%2C+add%2C+edit%2C+or+remove+revision-limit+rules+for+a+repository+%28organization+admins+only%29.\u0026amp;theme=95aafe95d96a16a477000f08\u0026amp;signature=ecb394b991fb7b3e215d76dcb3dc2c7af5250860f5ec284c22c5cd10fe916553\">\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=\"prune - Diversion Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List, add, edit, or remove revision-limit rules for a repository (organization admins only).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://diversion-2.mintlify.app/_mintlify/api/og/v2?division=Advanced+Commands\u0026amp;title=prune\u0026amp;description=List%2C+add%2C+edit%2C+or+remove+revision-limit+rules+for+a+repository+%28organization+admins+only%29.\u0026amp;theme=95aafe95d96a16a477000f08\u0026amp;signature=ecb394b991fb7b3e215d76dcb3dc2c7af5250860f5ec284c22c5cd10fe916553\">\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/cmd-ref/prune\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cmd-ref/prune.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/cmd-ref/prune#webpage\",\"url\":\"https://docs.diversion.dev/cmd-ref/prune\",\"name\":\"prune\",\"description\":\"List, add, edit, or remove revision-limit rules for a repository (organization admins only).\",\"dateModified\":\"2026-09-16T05:27:54.974Z\",\"isPartOf\":{\"@id\":\"https://docs.diversion.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.diversion.dev/cmd-ref/prune#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.diversion.dev/cmd-ref/prune#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CLI Reference\",\"item\":\"https://docs.diversion.dev/cmd-ref/about-cmd\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced Commands\",\"item\":\"https://docs.diversion.dev/cmd-ref/import\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"prune\",\"item\":\"https://docs.diversion.dev/cmd-ref/prune\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.diversion.dev/cmd-ref/prune#article\",\"headline\":\"prune\",\"name\":\"prune\",\"description\":\"List, add, edit, or remove revision-limit rules for a repository (organization admins only).\",\"url\":\"https://docs.diversion.dev/cmd-ref/prune\",\"mainEntityOfPage\":{\"@id\":\"https://docs.diversion.dev/cmd-ref/prune#webpage\"},\"dateModified\":\"2026-09-16T05:27:54.974Z\",\"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","href":"/basic/changing-the-past"},{"title":"Workspace management","href":"/basic/workspace-management"},{"title":"Quick access","href":"/basic/quick-access"}]},{"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":"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":"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","description":"Permanently delete blob storage for matching file versions (repo-admin only).","href":"/cmd-ref/obliterate"},{"title":"prune","href":"/cmd-ref/prune"},{"title":"update","description":"Sync and refresh your workspace with the Diversion update command to stay aligned with repository changes.","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/cmd-ref/prune"}]}]},"title":"prune - Diversion Documentation","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":[],"chunks":[]}