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

SQL php on different pages to Insert (mysqli) -

php - How can an email be returned from Stripe Checkout? -

sql - Partition elimination in Greenplum -