Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete Windows Azure Git repository?

Tags:

git

azure

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)

like image 730
Andrei Gheorghe Avatar asked Aug 17 '12 08:08

Andrei Gheorghe


People also ask

How do I remove a Git repository?

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.

How do I delete a VS repository?

Right-click the project in the Project Explorer panel and then choose Source Control > Delete Repository from the context menu.


2 Answers

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.

like image 192
Arun Rana Avatar answered Sep 19 '22 15:09

Arun Rana


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

like image 38
Mr Z Avatar answered Sep 20 '22 15:09

Mr Z