How to add a folder to ignore in a .gitignore file code example
Example 1: gitignore folder
in .gitignore:
folder/
Example 2: how to put access.log in gitignore
git rm --cached [file]
git update-index --assume-unchanged [file]
in .gitignore:
folder/
git rm --cached [file]
git update-index --assume-unchanged [file]