Git – How to remove a file from Git within IntelliJ VCS

gitintellij-ideaversion control

VCS has an Add option (Git Add) but seems to lack Git Remove.

What's the idiomatic way to Git Remove with VCS?

Best Answer

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