mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:22:09 +02:00
440 B
440 B
git mv
Déplacer ou renomer des fichiers inscrits dans l'index. Plus d'informations: https://git-scm.com/docs/git-mv.
- Déplace les fichiers dans l'index git, valide au prochain commit :
git mv {{chemin/vers/fichier}} {{new/path/to/file}}
- Renome un fichier et met a jour l'index, valide au prochain commit :
git mv {{filename}} {{new_filename}}
- Force l'écrasement d'un fichier :
git mv --force {{file}} {{cible}}