.gitignore recursively

Today -after a very frustrating hour- I found out git checks for .gitignore inside folders.

Folder tree example

  • .git (the root)
  • .gitignore
  • wp-content
    • themes
      • project
      • .gitignore (git also checks this one)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.