I have a .gitignore file at the root of my project, and my issue is that it ignores a lot of the rules I specify within it, or applies them only selectively (i.e., ignores only some matching files).
Notice the commented out **/*.log. If I uncomment it, git stops tracking firebase-debug.log, however, it continue tracking firestore-debug.log and ui-debug.log.
If I add a **/*.cache instruction, git keeps tracking hosting.YnVpbGQ.cache.
Why is git ignoring the instructions within my .gitignore file?