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

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

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

java - Cannot secure connection using TLS -