Thread (12 messages) flat view 12 messages, 6 authors, 2016-06-15

Re: ignoring files/directories in git

From: Dmitry Potapov <hidden>
Date: 2016-06-15 22:45:23

On Sun, Sep 21, 2008 at 09:54:38AM -0700, mwolfe38 wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help