How to ignore all .log files in a Git repository
.log
Add *.log to the .gitignore file
*.log
.gitignore
Add .log to the .gitignore file
Add log.* to the .gitignore file
log.*
Add ignore .log to the .gitignore file
ignore .log