Answers for "gitignore a specific file"

0

gitignore all log files

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

gitignore a specific file

$ echo debug.log >> .gitignore $ git rm --cached debug.log rm 'debug.log' $ git commit -m "Start ignoring debug.log"
Posted by: Guest on January-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language