Ignore .idea folder from git in PhpStorm

Explains how to exclude .idea folder from Git. VCS does not track changes in .idea folder.

Follow these steps to exclude .idea folder from Git in PhpStorm:

01. CTRL+ALT+S 02. Settings > Version Control > Ignored Files 03. Green “plus” sign on the right 04. Add the .idea folder

This will remove all files in the .idea folder from Git. Note: From Git ! Not from the system. Open the “local” terminal in PhpStorm:

git rm -r --cached .idea/*