Answers for "gitignore how to ignore file in another folder"

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

how to put access.log in gitignore

git rm --cached [file]
git update-index --assume-unchanged [file]
Posted by: Guest on January-06-2021

Code answers related to "gitignore how to ignore file in another folder"

Browse Popular Code Answers by Language