git - gitignore file but not folder -


i have folder named format

*.*.*.*.log 

i want ignore *.log files entry

*.log  

in gitignore ignoring whole folder.

how ignore *.log files not *.log directories?

after digging found

/*.log 

will trick.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -