Git -Datei von Uhr entfernen
#For a single file:
git rm --cached mylogfile.log
#For a single directory:
git rm --cached -r mydirectory
Bewildered Boar
#For a single file:
git rm --cached mylogfile.log
#For a single directory:
git rm --cached -r mydirectory
$ git rm <file>
$ git commit -m "Deleted the file from the git repository"
$ git push