gitignore .idea is not ignored code example Example: gitignore not working for .idea git rm --cached -r .idea