.Gitignore nicht funktioniert
git rm -rf --cached .
git add .
GutoTrosla
git rm -rf --cached .
git add .
# Remember to commit everything you've changed before you do this!
git rm -rf --cached .
git add .
# This removes all files from the repository and adds them back
# (this time respecting the rules in your .gitignore).
# Source: https://stackoverflow.com/a/25436481
git rm -r --cached .;
git add .;
git commit -m "Untracked files issue resolved to fix .gitignore";
git push
git rm -rf --cached .
git add .
#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