{"thread":{"id":"28351","subject":".gitignore don't ignore a file","startedAt":"2011-09-10T10:29:45Z","lastAt":"2011-09-10T11:01:20Z","messageCount":2,"participants":["Bastien Sevajol","Gustaf Hendeby"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"175272","messageId":"4E6B3C19.4040908@gmail.com","threadId":"28351","inReplyTo":null,"subject":".gitignore don't ignore a file","fromName":"Bastien Sevajol","fromEmail":"sevajol.bastien@gmail.com","sentAt":"2011-09-10T10:29:45Z","receivedAt":"2011-09-10T10:29:45Z","isPatch":false,"sender":{"key":"sevajol.bastien@gmail.com","avatar":null},"body":"Hello !\nI don't understand why my gitingnore don't want to ignore a file.\nI have this in my gitignore:\n\n> app/cache/\n> app/logs/\n> app/logs/dev.log\n> app/logs/prog.log\n> app/logs/test.log\n> *.log\n> *.*~\n> nbproject\n\ni've try with app/logs/.gitignore with this:\n\n> dev.log\n\nBut, git don't ignore app/logs/dev.log :/\n\nDo you now why ?\nthank's =)\n\nbux.\n"},{"id":"175273","messageId":"4E6B4380.4050009@isy.liu.se","threadId":"28351","inReplyTo":"4E6B3C19.4040908@gmail.com","subject":"Re: .gitignore don't ignore a file","fromName":"Gustaf Hendeby","fromEmail":"hendeby@isy.liu.se","sentAt":"2011-09-10T11:01:20Z","receivedAt":"2011-09-10T11:01:20Z","isPatch":false,"sender":{"key":"hendeby@isy.liu.se","avatar":"https://avatars.githubusercontent.com/u/730316?v=4"},"body":"Hi!\n\nOn 09/10/2011 12:29 PM, Bastien Sevajol wrote:\n> Hello !\n> I don't understand why my gitingnore don't want to ignore a file.\n> I have this in my gitignore:\n> \n>> app/cache/\n>> app/logs/\n>> app/logs/dev.log\n>> app/logs/prog.log\n>> app/logs/test.log\n>> *.log\n>> *.*~\n>> nbproject\n> \n> i've try with app/logs/.gitignore with this:\n> \n>> dev.log\n> \n> But, git don't ignore app/logs/dev.log :/\n> \n> Do you now why ?\n> thank's =)\n\nIs the file currently committed (or staged) to your repository?  In that\ncase; Git never ignore files that are put under version control.  If\nnot, could you please elaborate a bit more on in what way the file is\nnot ignored.  It is not completely clear to me what you expect, and what\nin fact happens.\n\n/Gustaf\n"}]}