I am trying hide this file .netlify/state.json by adding it to my git but it still shows in my github repo. I just want to hide the state.json file somehow.
My .gitignore file is in my root directory. The .netlify folder is in my root directory.
I have already tried adding several variations of the directory to the .gitignore file.
.netlify/state.json
state.json
.netlify
../.netlify
.netlify/state.json
but it still none of them worked.
Here is the link to my github repo:
https://github.com/able-leopard/a-day-in-the-life-on-mars
Thank you very much in advance!