Answers for "in gitignore"

15

.gitignore

node_modules
.DS_Store
.env
Posted by: Guest on November-11-2019
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

// Example of .gitignore file
.env
config.json
node_modules
// A .gitignore file is supposed to ignore any files when commiting to github with git
Posted by: Guest on August-02-2021

Browse Popular Code Answers by Language