Branches

Une branche est une ligne de développement indépendante, qui permet de travailler sur une fonctionnalité ou une correction sans toucher à la branche principale. En pratique, c'est un pointeur léger vers un commit. On la crée avec git branch ou git switch -c et on change avec git switch.

Exemple

git switch -c fonctionnalite-panier

Notions voisines

Tout le glossaire