Answers for "git ignore all log files"

8

how to put files into gitignore

$ echo debug.log >> .gitignore
$ git rm --cached debug.log
rm 'debug.log'
$ git commit -m "Start ignoring debug.log"
Posted by: Guest on June-03-2020
0

gitignore all log files

*.log
!spec/*.log
Posted by: Guest on September-29-2020

Code answers related to "git ignore all log files"

Browse Popular Code Answers by Language