how to clear gradle cache gitignore

C++
git rm -r --cached .idea/
Source

Also in C++: