git branch

Hoofd Git-commando voor het werken met branches. Meer informatie: https://git-scm.com/docs/git-branch.

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

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

git branch --show-current

git branch {{branch_naam}}

git branch {{branch_naam}} {{commit_hash}}

git branch {{[-m|--move]}} {{oude_branch_naam}} {{nieuwe_branch_naam}}

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

git push {{externe_naam}} {{[-d|--delete]}} {{externe_branch_naam}}