tldr/pages.fr/common/git-update-index.md

299 B

git update-index

Commande Git pour manipuler l'index. Plus d'informations : https://git-scm.com/docs/git-update-index.

  • Prétendre qu'un fichier modifié est inchangé (git status ne l'affichera pas comme modifié) :

git update-index --skip-worktree {{chemin/vers/fichier_modifié}}