diff --git a/HowtoGit.md b/HowtoGit.md index 3b9db6d9..6c336d6b 100644 --- a/HowtoGit.md +++ b/HowtoGit.md @@ -903,6 +903,12 @@ Il existe la commande shortlog pour avoir quelques stats sur un dépôt git $ git shortlog -sne ~~~ +### Supprimer un fichier du dépôt et non en local + +~~~ +$ git rm --cached file +~~~ + ### Supprimer le dernier commit À faire avec précaution bien sûr :