I added a git repository to my project and then I hit Team > Disconnect. How do I remove this repository completely? I'm trying to set up a new git repository on my project, but I keep getting an error message.
Step 6: Then again open Eclipse IDE. Then go to Window, then Show View & then others. Step 7: The expand Git folder, click on Git Repositories & Open it.
Use the git remote rm command to remove a remote URL from your repository. The git remote rm command takes one argument: A remote name, for example, destination.
If you just want to remove the repository from the Eclipse but not want to delete the data from your computer, follow these steps :
First switch to Git perspective (Window - > Open Perspective -> Other -> Search for Git)
In the Git Repositories section, right click your repository and select Remove Repository from View. This will prompt you to confirm if you want to remove the projects that are imported in Eclipse from this repository. Click Yes and you are done.
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