git how to ignore folder after already committed code example
Example 1: github untrack files
git rm -r --cached .
Example 2: git remove all files in gitignore
git ls-files -i -z --exclude-from=.gitignore | xargs -0 git rm --cached
git rm -r --cached .
git ls-files -i -z --exclude-from=.gitignore | xargs -0 git rm --cached