Reading the post, this might have been not quite what I wanted to describe, so I'll take another run at it, with this:
Locally (not in the repo yet), I have the following files: README.md package.json src src/things1 src/things.ts src/.eslintrc.json src/thing1.js src/things1/.gitignore src/things1/things2 src/things1/things2/test.js src/things1/things2/.gitignore src/things1/things2/things3 src/things1/things2/test2.js src/things1/things2/things3/test3.js Within src/things1/things2/.gitignore I have the following rule: /test2.js *but*, within src/things1/.gitignore, I have the following rule: things2/.gitignore Using git status --untracked-files --porcelain I see in the results that src/things1/things2/.gitignore is *not* included in the list, which agrees with what I expected to see. However, I *also* do not see src/things1/things2/test2.js which is *not* what I expected. Somehow, the *rules* from src/things1/things2/.gitignore have been applied even though this file will not be checked in. How can this be?? Should not the rules in src/things1/things2/.gitignore have been *ignored*, since it's not going to be checked in? Please advise. Best Regards Peter -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/d93e78cd-eb7a-483c-90bf-e1e886707591n%40googlegroups.com.