What am I missing that needs to be done in order to get git
to ignore my .idea/
path?
ctote@ubuntu:~/dev/1$ git status
On branch master
For those of you getting fatal: pathspec '.idea' did not match any files
:
You just have to include the full path to the .idea folder.
So first, do a git status
, which should show you the path to .idea
given where you currently are.
Then, include the path in the command w0lf suggested: git rm --cached -r example/path/to/.idea