Skip to main content

Delete repositories

danger

Deleting a repository permanently deletes the entire repository and all contents, including files, commits, branches, and so on.

Deletion is permanent. You can't recover deleted repositories.

To delete a repository in Harness Code:

  1. Go to the Harness project that contains the repo you want to delete.
  2. Go to the Code module and select Repositories.
  3. Select the repository you want to delete.
  4. Go to Settings and select Delete.
  5. Follow the prompts to confirm deletion.
danger

Deleting a repository permanently deletes the entire repository and all contents, including files, commits, branches, and so on.

Deletion is permanent. You can't recover deleted repositories.