How to fix a project in IntelliJ IDEA if the ".idea" directory was added to Git and now you want to remove it?
1. Make sure that the "idea" folder is added to the .gitignore file
2. Clear the Git cache:
git rm -r --cached .idea
3. Go to the "File" -> "Repair IDE" section. Follow the instructions on the IDE Repair panel
More details here: Repair IntelliJ
#FrontendBeer #intellijidea #idea #intellij #project #repair (c) Frontend Beer
IntelliJ IDEA Help
Repair IDE | IntelliJ IDEA