I have a Azure Web Site that is linked with a Git Repository (in the deployments tab). How can I remove the repository and the link ? (I want to set up TFS deployment)
If you want to disconnect your app from the Git repository, click Settings and hit the delete icon next to the remote URL. It will take you to the disconnection window, ensuring that you want to delete the connection.
Right-click the project in the Project Explorer panel and then choose Source Control > Delete Repository from the context menu.
I think there is no way to delete Git Repository link and set TFS again. for this you need to delete this website and recreate it, after that you can set up TFS deployment.
I just found an elegant solution ... and was able to delete several GB of data
1) login to new Azure portal
2) open the required App Service dashboard
3) in the left column there's a Console (in the DEVELOPMENT TOOLS)
4) back screen with command prompt opened
5) type:
rm -rf .git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With