====== GitIgnore and untracking files ====== add to `.gitignore` (you need the slash): directoryName/ # removes the old tracked files git rm --chached DIRECTORY/ -r git commit -m "." git push
directoryName/
# removes the old tracked files git rm --chached DIRECTORY/ -r git commit -m "." git push