# Step 1) First stop git from tracking the ### Example git rm -r --cached dist ### git rm -r --cached # Step 2) Then update .gitignore file dist/ node_modules/ *.log .env *.zip
* */ !.gitignore