Comment supprimer le fichier de la commande git

git rm --cached file1.txt
git commit -m "remove file1.txt"
Stupid Shrike