Reputation: 550
I have a folder named the format
*.*.*.*.log
I also want to ignore *.log files but the entry
*.log
In gitignore is ignoring my whole folder.
How do I ignore *.log files but not *.log directories?
Upvotes: 3
Views: 522
After some digging I found that
/*.log
will do the trick.
Upvotes: 1