PhpStorm global GIT ignore steps

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

Add this contents:

.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.idea
.idea/*

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