View local branches
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
Prints a list of all local branches.
git branch
to display a list of all local branches.git branch # Examples git branch # master # patch-1 # patch-2
Master git branch commands with this snippet collection of simplified git documentation and tips.
Prints a list of all local branches sorted by date.
Prints a list of all merged local branches.
Deletes all local merged branches.