How to avoid uploading all log files using .gitignore
I am trying to avoid pushing appLog to git, Here's my appLogs. and I am using bellow list on .gitignore file,
appLog.log
appLog.log.*.gz
still github desktop is showing me the files in the list.
Can anyone pls help me to fix this. Thanks in advance.
Solution 1:
A pattern like *.log*
in your .gitignore
should work here.