PhpStorm global GIT ignore steps

Steps to exclude .idea folder globally in phpstorm:
Create this file:

Add this contents:


Now in phpstorm open the terminal panel (command line shell) and type:

git config --global core.excludesfile c:UsersBasgitignore_global.txt

Next restart phpstorm. Now if you clone a new project it will never bother you about the .idea folder.

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on whatsapp