git*: add French translation (#4619)

This commit is contained in:
CARE-COLIN Thibaut
2020-11-10 12:17:06 +01:00
committed by GitHub
parent 6b167bcdd4
commit 8c8314f725
72 changed files with 1499 additions and 41 deletions

View File

@@ -0,0 +1,36 @@
# git checkout
> Extraire une branche ou des chemins vers l'arborescence de travail.
> Plus d'informations: <https://git-scm.com/docs/git-checkout>.
- Créer une branche et basculer dessus :
`git checkout -b {{nom_de_branche}}`
- Créer une branche depuis une reférence spçifiaue et basculer dessus (par exemple, branche locales/distantes, tag, commit) :
`git checkout -b {{nom_de_branche}} {{reference}}`
- Basculer sur une branche locale existante :
`git checkout {{nom_de_branche}}`
- Basculer sur la branche précedante :
`git checkout -`
- Basculer sur une brnche distante existante :
`git checkout --track {{nom_distant}}/{{nom_de_branche}}`
- Annule tout les changements dans le repertoire courrant (voir `git reset` pour plus de commandes d'annulation) :
`git checkout .`
- Annule tout les changements dans le fichier spécifié :
`git checkout {{filename}}`
- Remplace un fichier par sa version d'une autre branche :
`git checkout {{nom_de_branche}} -- {{filename}}`