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

9 lines
298 B
Markdown
Raw Normal View History

2020-11-10 11:17:06 +00:00
# git update-index
2021-01-07 14:06:38 +00:00
> Commande Git pour manipuler l'index.
2020-11-10 11:17:06 +00:00
> 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é}}`