git branch

Comando principal de Git para trabajar con ramas. Más información: https://git-scm.com/docs/git-branch.

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

git branch {{[-a|--all]}} --contains {{hash_de_la_confirmación}}

git branch --show-current

git branch {{nombre_rama}}

git branch {{nombre_de_rama}} {{hash_de_la_confirmación}}

git branch {{[-m|--move]}} {{nombre_de_rama_antigua}} {{nuevo_nombre_rama}}

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

git push {{nombre_remoto}} {{[-d|--delete]}} {{nombre_de_rama_remota}}