git | add failing because file in .gitignore
When I try to invoke git | add from within RubyMine I am getting an error
The following problems have occurred when adding the files:
The following paths are ignored by one of your .gitignore files:
coverage
Use -f if you really want to add them.
fatal: no files added
Yes, I know the path is in my .gitignmore file - because I want to ignore it! It's been in there for ages, and git | add has worked in the past. So why is RubyMine / Git objecting to it being in my .gitignore now, and what can I do about it? (If it involves the git command line, I'm going to need detailed instructions, because I only know how to use git from withing RubyMine).
This seems to have happened since I upgraded to the latest version of RubyMine, by the way - that could be what's changed.
Thanks in advance.
Please sign in to leave a comment.
Hi Timothy,
Looks like this issue: https://youtrack.jetbrains.com/issue/IDEA-81532
Please vote for it.
Yes it does, and yes I have.
I'm disappointed that this has been hanging around for almost three years, and that the only workaround appears to be not to use RubyMine's git integration. RubyMine's lead over the free competitors just took a knock with me.