1 Replies Last post: May 22, 2013 12:17 PM by Kirill Likhodedov  
David Burton Newbie 5 posts since
May 19, 2013
Currently Being Moderated

May 21, 2013 8:24 PM

RubyMine 5.4 can't gitignore workspace.xml

I have added .idea/* to my gitignore file and I also added all the following to version control/ignored files:

File: .idea/workspace.xml

Mask: workspace.xml

Directory: .idea/


And still when I click on commit changes the workspace.xml file is one of them that RubyMine wants to save to git.

Kirill Likhodedov Novice 146 posts since
Jul 15, 2010
Currently Being Moderated
May 22, 2013 12:17 PM in response to: David Burton
Re: RubyMine 5.4 can't gitignore workspace.xml

Hi David,


It looks that you might have added .idea/workspace.xml to the VCS before marking it as ignored. Note that in this case writing its path to .gitignore won't have any effect. You have to remove the file from the VCS first:

git rm --cached .idea/workspace.xml ; git commit

More Like This

  • Retrieving data ...