gitignore is not working git rm -r --cached . git add . git commit -m "fixed untracked files" Related Posts How to move your old repo to github Arcanist cheatsheet Remove all local git branches and only keep the master branch Git cheatsheet How to set & change root password in MySQL Generate CSR for Nginx server Setup python app in centos from scratch (centos 6.9+uwsgi+nginx+flask+mysql)