> ## Documentation Index
> Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Repository management

> Rename, delete, and manage your Diversion repositories and workspaces

## Renaming a repository

Only the repository owner can rename a repository.

<Steps>
  <Step title="Find the repo on the dashboard">
    Go to the **Remote Repositories** tab on the dashboard (not from a local workspace). Locate the repository you want to rename.
  </Step>

  <Step title="Open the repo's menu">
    Click the **...** menu on the repo's row and select **Rename**.

    <img src="https://mintcdn.com/diversion-2/g_jyumy-qEjJFz_7/images/repo-mgmt-rename-menu.png?fit=max&auto=format&n=g_jyumy-qEjJFz_7&q=85&s=182a27d123f4822b5c8de3ef3181b7b5" alt="Rename option in repo row menu" width="1860" height="540" data-path="images/repo-mgmt-rename-menu.png" />
  </Step>

  <Step title="Enter the new name">
    In the **Rename Repository** dialog, type the new name for your repository and click **Rename**.

    <img src="https://mintcdn.com/diversion-2/Sn58VC4Xc3cD-gii/images/repo-mgmt-rename-dialog.png?fit=max&auto=format&n=Sn58VC4Xc3cD-gii&q=85&s=752ea8db9c8333e077e980d6c6d3c967" alt="Rename repository dialog" width="716" height="332" data-path="images/repo-mgmt-rename-dialog.png" />
  </Step>
</Steps>

## Deleting a repository

<Warning>
  Deleting a repository is permanent and cannot be undone. All branches, commits, and history will be lost.
</Warning>

<Steps>
  <Step title="Find the repo on the dashboard">
    Go to the **Remote Repositories** tab on the dashboard (not from a local workspace). Locate the repository you want to delete.
  </Step>

  <Step title="Open the repo's menu">
    Click the **...** menu on the repo's row and select **Delete**.

    <img src="https://mintcdn.com/diversion-2/g_jyumy-qEjJFz_7/images/repo-mgmt-delete-menu.png?fit=max&auto=format&n=g_jyumy-qEjJFz_7&q=85&s=199d1e5e2cf0a8c1be09e15cdf7122d1" alt="Delete option in repo row menu" width="1860" height="540" data-path="images/repo-mgmt-delete-menu.png" />
  </Step>

  <Step title="Confirm by typing the repository name">
    To prevent accidental deletion, you must type the exact repository name to confirm. Then click **Delete**.

    <img src="https://mintcdn.com/diversion-2/Sn58VC4Xc3cD-gii/images/repo-mgmt-delete-dialog.png?fit=max&auto=format&n=Sn58VC4Xc3cD-gii&q=85&s=038b3cf83bee7c293525e4f2c4d23c53" alt="Delete repository confirmation dialog" width="652" height="377" data-path="images/repo-mgmt-delete-dialog.png" />
  </Step>
</Steps>

Via the CLI, run `dv repo -d <repo-name>`. See the [repo command](/cmd-ref/repo) for details.

<Info>
  Your local files on disk are not deleted -- only the cloud repository is removed. The local folder stops syncing and can be moved or deleted manually.
</Info>

## Viewing workspaces

If you are an owner or admin of a repository, you can view and manage all workspaces in that repository, including those belonging to other collaborators. This is useful for debugging issues or managing changes on behalf of a team member.

<Steps>
  <Step title="Open your organization settings">
    Click on your avatar in the top navigation and select **Your organizations**.
  </Step>

  <Step title="Go to Workspaces">
    In the left sidebar, click **Repositories**, then click **Workspaces** in the repository column. If you are an owner or admin of multiple repositories, use the repository picker at the top of that column to pick the repository you want to inspect.

    <img src="https://mintcdn.com/diversion-2/Yky3RnSpHJMXzWF0/images/repo-mgmt-workspaces-list.png?fit=max&auto=format&n=Yky3RnSpHJMXzWF0&q=85&s=5fd2921dfa6513c1158e7de50cfdb715" alt="Workspaces list showing all workspaces" style={{width: '90%', borderRadius: '1.5rem', border: '.3rem solid #555', boxShadow: '0 0 1rem #888' }} width="1262" height="470" data-path="images/repo-mgmt-workspaces-list.png" />
  </Step>

  <Step title="Open a workspace">
    The table lists all workspaces with their name, auto-update status, and owner. Click the actions menu on a workspace and select **Open** to view its contents and pending changes. You can also **Rename** or **Delete** workspaces from this menu.

    <img src="https://mintcdn.com/diversion-2/410ATEhIJpZrdWhu/images/repo-mgmt-open-workspace.png?fit=max&auto=format&n=410ATEhIJpZrdWhu&q=85&s=2dbb23c862d8e9ae16dee768a7887cc1" alt="Opening a workspace" style={{width: '90%', borderRadius: '1.5rem', border: '.3rem solid #555', boxShadow: '0 0 1rem #888' }} width="1029" height="245" data-path="images/repo-mgmt-open-workspace.png" />
  </Step>
</Steps>

<Warning>When you open a workspace you don't own, any operations you perform will affect the workspace owner. A confirmation dialog will appear before you proceed.</Warning>
