Home > Blockchain >  How can I remove Git from Flutter project on VSCode?
How can I remove Git from Flutter project on VSCode?

Time:08-03

I have a project that I want to remove git from, but simply deleting the .git file breaks the project. I get this error if I do that: The current Flutter SDK version is 0.0.0-unknown.

I had to reinstall Flutter to fix this, and when I reinstalled the project had git again. What can I do?

CodePudding user response:

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

CodePudding user response:

Run this command rm -rf .git*.

CodePudding user response:

From VSCode Terminal:

Inside Project run this command

 rm -fr .git

Verify the git repo. exists

git status
//fatal: not a git repository 
  • Related