K F K F - 5 months ago 65
Git Question

How to disconnect git for a project in intellij?

I'm new in swift to intellij from eclipse. In eclipse, there's just a button disconnect in popup menu selection "team" which can disconnect the project from the version control system like git or svn, and even can delete version control information like files in ".git" dir or ".svn" dir of the project. I can't find the counterpart button of intellij and don't know how to delete the git information. I deleted the ".git" directory of the project, but opened intellij again, it still show that the project is in git and can't be pushed to new git repo.

Answer Source

I guess that this could be a duplicate, you can find at least the first part of your question here

After that you remove VCS, you would be able to remove .git directory without any problem