git ignore added folder code example Example: git ignore added folder git rm -r --cached <folder> // git rm -r --cached dist