Skip to content

Glossary: Command Line and Git

git branch

Also written: git branch -d

Lists branches, with `*` beside the current one. `git branch -d name` deletes a merged branch and refuses if its work isn't merged.

Where the book teaches it

Related terms

branchgit switch