git worktree

Gérer plusieurs arbres de travail attachés au même dépôt. Plus d'informations : https://git-scm.com/docs/git-worktree.

git worktree add {{chemin/vers/répertoire}} {{branche}}

git worktree add {{chemin/vers/répertoire}} -b {{nouvelle_branche}}

git worktree list

git worktree prune