Re: ignoring files/directories in git
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Sep 21, 2008, 17:42 UTC
- Message-ID
- <20080921174255.GF21650@dpotapov.dyndns.org>
- In-Reply-To
- <19596152.post@talk.nabble.com>
On Sun, Sep 21, 2008 at 09:54:38AM -0700, mwolfe38 wrote:
Show 16 quoted lines
> > I've added them to the .gitignore file which I have in the initial directory > of the repository > The contents of my gitignore are: > > .settings > .cache > cache/ > log/ > .project > > However, if I do > git add . > It will add the files from cache and log anyways. > I know git add . will add anything that hasn't been added but shouldn't it > ignore files in .gitignore?
It does ignore files in .gitignore. What version of Git do you use? IIRC, some old ones did not like the slash at the end of name.
Dmitry