From: Wayne Davison Date: Wed, 23 Jan 2008 21:11:38 GMT Subject: Re: Why does git track directory listed in .gitignore/".git/info/exclude"? Message-ID: <20080123211138.GB21300@blorf.net> In-Reply-To: <6bc632150801230554l3b24e1e4lb4641bf7c16857c0@mail.gmail.com> On Wed, Jan 23, 2008 at 07:24:44PM +0530, pradeep singh rautela wrote: > i.e i have added following line to both of them - > xen-3.1.0-src/ That doesn't match the directory due to the trailing slash. If you remove that slash, it will match the dir, and then ignore anything you place inside. ..wayne..