gitignore - how to ignore .idea/ directory for rubymine

I've placed .idea/ in both my ~/.gitignore_global and in my projects specific .gitignore file (and committed the later) but I still see the file as unstaged.

How can I really ignore these files?

I've done this:

git config --global core.excludesfile ~/.gitignore_global 

but it didn't help.

the filename is ok:

$ ls ~/.gitignore_global
/home/durrantm/.gitignore_global

Answers


These files are added into the git repository already. Do the git rm --cached .idea then commit.


Need Your Help

spsc_queue pop - avoid memcpy?

c++ boost low-latency

I declare spsc_queue like this:

The order of a SQL Select statement without Order By clause

sql-server oracle select sql-order-by

As I know, from the relational database theory, a select statement without an order by clause should be considered has not particular order. But actually in SQL Server and Oracle (I've tested on th...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.