Sean Sean - 2 months ago 4x
Git Question

gitignore won't ignore my .settings/ directory (created by eclipse)

git status:

Untracked files:
(use "git add <file>..." to include in what will be committed)

I've tried the following variations on my .gitignore file and nothing seems to work:





I've never had this much trouble with
, it usually just works. I must be doing something real dumb.

file has more in it than just that one line (all the other lines works correctly).


My .gitignore file has a leading forward slash before .settings:


where you don't have that slash. Try adding the slash