git ignore .git folder 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]