Answers for "how to ignore files in git commit"

15

.gitignore

node_modules
.DS_Store
.env
Posted by: Guest on November-11-2019
0

ignore commited files

git rm -r --cached "storage/framework/cache/"
Posted by: Guest on June-17-2021
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

Browse Popular Code Answers by Language