I'm using msysgit 1.9.4.
My .gitignore file, at the root of the repo, looks like this:
build/
a/b/
!a/c/d/e/**/build/
My intent is that, all build/ directories are ignored, unless they are subdirs (any depth) of a/c/d/e/. But a/c/d/e/f/build/ is still getting ignored by Git.
What am I missing here?
git check-ignore -v a/c/d/e/f/build/
show? What about the same command with a file inbuild/
instead of the directory itself? – Evslingit status
to see what has changed; that does it by file date/time (I guess it would be too slow to diff every file in a large project whenever astatus
command is issued) – Cinemascope