git branch

Commande Git principale pour travailler avec des branches. Plus d'informations : https://git-scm.com/docs/git-branch.

git branch {{[-a|--all]}}

git branch --show-current

git branch {{nom_de_branche}}

git branch {{nom_de_branche}} {{commit_hash}}

git branch {{[-m|--move]}} {{ancien_nom_de_branche}} {{nouveau_nom_de_branche}}

git branch {{[-d|--delete]}} {{nom_de_branche}}

git push {{nom_distant}} {{[-d|--delete]}} {{nom_de_branche_distante}}