0

Is there any way to permanently delete a git repository without the need of the project.

I already have deleted the projects and they are not in the database any more. however the git repositories stil are. how can these be deleted

Especially the tbl_content where all the data is stored.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341

1 Answers1

0

There is a clean-up job that can remove the rest of the content.

EXEC prc_CleanupDeletedFileContent 1
# You may have to run the following command multiple times, the last
# parameter is the batch size, if there are more items to prune than the 
# passed in number, you will have to run it multiple times
EXEC prc_DeleteUnusedFiles 1, 0, 100000

https://jessehouwing.net/tfs-clean-up-your-project-collection/

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
  • The link describes a api call to remove the repo from the recycle bin, Before running the stored procedures. The recycle bin cannot be emptyd because if don't have the projects any more. I tried running the stored procedures but notthing happens. – Pokke123 Oct 03 '19 at 09:19
  • That sounds like a bug to me and would probably require a support call to fix. – jessehouwing Oct 03 '19 at 09:40