Answers for "git ignore some files different format"

1

git diff exclude file

git diff -- . ':(exclude)package-lock.json'
Posted by: Guest on September-22-2021
-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 "git ignore some files different format"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language