View local branches

Git, Repository, Branch

Prints a list of all local branches.

  • Use git branch to display a list of all local branches.
  • Use arrow keys to navigate, press Q to exit.
git branch
Examples
git branch
# master
# patch-1
# patch-2

Recommended snippets