Skip to content

Instantly share code, notes, and snippets.

@oropesa
Last active October 1, 2019 10:43
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oropesa/403b1cc28d092eed71a6 to your computer and use it in GitHub Desktop.
Save oropesa/403b1cc28d092eed71a6 to your computer and use it in GitHub Desktop.
Ignore .idea folder from git in PHPStorm
1. Make PHPStorm ignore .idea folder
|- File > Settings > Version Control > Ignored Files > Add(+) > Ignored all files under > select directory .idea
2. Clean PhpStorm Git Cache
|- Open Terminal (Left+Down) #> "C:\Program Files (x86)\Git\cmd\git.exe" rm -f --cached .idea/*
or
|- Open Terminal (Left+Down) #> git rm -f --cached .idea/*
3. Reboot PhpStorm
\- Done!
@hgati
Copy link

hgati commented Nov 15, 2017

Great~~
I missed "Reboot Phpstorm"
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment