[RESOLVED] Cannot ignore files/directories [message #996711] |
Wed, 02 January 2013 18:31 |
Dennis Putnam Messages: 59 Registered: January 2012 |
Member |
|
|
I have a Java project set up with git using EGit and most everything is working. What I cannot get working is ignoring files/directories. I've tried creating a .gitignore file as well as setting team ignored resources. None seem to work. When I make changes to the "ignored" files/directories they still show up as unstaged changes. What am I doing wrong? TIA.
[Updated on: Thu, 03 January 2013 14:49] Report message to a moderator
|
|
|
|
|
|
Re: Cannot ignore files/directories [message #997050 is a reply to message #996915] |
Thu, 03 January 2013 13:42 |
Dennis Putnam Messages: 59 Registered: January 2012 |
Member |
|
|
Thanks for the reply. Not only refreshing the view but also quitting and restarting Eclipse. I am starting off simple. When I run the application in Eclipse, it builds it in the bin directory. That is what I am trying to ignore initially. My .gitignore file is very simple (I've tried several variations including the absolute path, with and without a trailing *, etc.):
*\bin\
After running my application, the entire bin directory shows up (git repository exploring) in the unstaged changes area. It also contains .gitignore which my be related or just something else I need to ignore when I get this working.
As I mentioned, I also have bin in the preferences->team->ignored resources.
[Updated on: Thu, 03 January 2013 14:47] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03283 seconds