Category Git

How to fix “.gitignore not working” issue?

Sometimes git does not exclude files/folders added .gitignore especially if you had committed them before. Here is how to fix it. I am ignoring node_modules from frontend project as an example ### Format1 ###node_modules/node/### Format2 ###**/frontend/node_modules/****/frontend/node/** git rm -r –cached . git add .git…