In the terminal, use git rm --cached -r .idea/.
This will remove the files from the GIT index, but leave the files locally.
In the terminal, use git rm --cached -r .idea/.
This will remove the files from the GIT index, but leave the files locally.