Answers for "add file ignore gitignore"

0

Force add despite the .gitignore file

git add --force my/ignore/file.foo
Posted by: Guest on June-08-2020
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

Code answers related to "add file ignore gitignore"

Browse Popular Code Answers by Language