gitignore not working?

Aug 30, 2020

Sometimes gitignore doesn't work after adding a file or a folder to the .gitigore file.

This is because you've probably checked the folder into git already.

Solution:

git rm -r --cached [path/to/folder]

A handsome man.

I'm Wesley. I live in Boston and work on Wonderment.

Go back to home