MethodsAndPractices / vsteam

PowerShell module for accessing Azure DevOps Services and Azure DevOps Server (formerly VSTS or TFS)
https://methodsandpractices.github.io/vsteam-docs/
MIT License
442 stars 155 forks source link

Disabled git repos cannot be deleted #528

Open jackmtpt opened 1 year ago

jackmtpt commented 1 year ago

Remove-VSTeamGitRepository is unable to delete a repo that has been disabled. There is also no built-in command to re-enabled a repo. Ideally -Force should just enable it for you and then delete it.

SebastianSchuetze commented 1 year ago

Thanks for the suggestion @jackmtrayport I moved it to the correct repo. -Force would not he the correct expected result. I think the repo has to be reconfigured on order to do that.

I have to check what the best solution would be.