0

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).

Consider the example below: enter image description here

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?

Sam
  • 888
  • 10
  • 25
  • 2
    https://stackoverflow.com/q/6380196/7976758 , https://stackoverflow.com/q/1274057/7976758 , https://stackoverflow.com/search?q=%5Bgitignore%5D+does+not+work – phd Apr 27 '22 at 13:14

0 Answers0