#normally it happens when you already upload files and after # that you add your .gitignore file git rm -r --cached . git add . git commit -am "Remove ignored files" git push