edit git ignore not working for directory code example Example: golang gitignore is not working git rm -rf --cached . git add .