how to add add folders in git ignore code example Example: git ignore added folder git rm -r --cached <folder> // git rm -r --cached dist