$ echo '.idea' >> .gitignore $ git rm -r --cached .idea $ git add .gitignore $ git commit -m '(some message stating you added .idea to ignored entries)' $ git push