git checkout |
Retirer |
|---|---|
| Git | |
Syntaxe
| git checkout [-q] [-f] [-m] [branch] |
| git checkout [-q] [-f] [-m] --detach [branch] |
| git checkout [-q] [-f] [-m] [--detach] commit |
| git checkout [-q] [-f] [-m] [[-b|-B|--orphan] new_branch] [start_point] |
| git checkout [-f|--ours|--theirs|-m|--conflict=style] [tree-ish] [--] pathspec... |
| git checkout [-f|--ours|--theirs|-m|--conflict=style] [tree-ish] --pathspec-from-file=file [--pathspec-file-nul] |
| git checkout (-p|--patch) [tree-ish] [--] [pathspec...] |
Description
Cette commande permet de changer de branche ou de restaurer des fichiers d'arbre de travail.
Dernière mise à jour : Mardi, le 5 Janvier 2021