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.
CodePudding user response:
A pattern like *.log* in your .gitignore should work here.
