From: Alex Bennee Date: Mon, 18 Sep 2006 18:28:07 GMT Subject: Can the git exclude files mask out whole directories? Message-ID: <1158604087.28026.160.camel@okra.transitives.com> Hi, I may be being a bit dim but according to the man page I should be able to specify paths with /'s in them. I want to exclude all CVS directories so I can commit stuff. I have tried: # # Ignore CVS files # */CVS/* Amongst many variants and: git-ls-files --others --exclude-from=.git/info/exclude And all my CVS directories still get listed. I can get what I want with adding: # Ignore CVS files # Entries Entries.Log Repository Root Tag to my exclude file but that seems suboptimal. Besides I'll also want to be ignoring whole build directories later. Have I subtly misunderstood the man page? Confused, -- Alex, homepage: http://www.bennee.com/~alex/ Majority, n.: That quality that distinguishes a crime from a law.