What am I missing that needs to be done in order to get git to ignore my .idea/ path?
git
.idea/
ctote@ubuntu:~/dev/1$ git status On branch master
To remove the "fatal: pathspec '.idea' did not match any files" just use if the dir still returns as untracked:
git clean -f -d .idea