Answers for "cant change text file to gitignore"

1

git update gitignore remove files

git rm --cached `git ls-files -i -c --exclude-from=.gitignore`
Posted by: Guest on August-15-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