how to put access.log in gitignore code example
Example 1: git ignore content of a folder
# exclude everything
somefolder/*
# exception to the rule
!somefolder/.gitkeep
Example 2: how to put access.log in gitignore
git rm --cached [file]
git update-index --assume-unchanged [file]