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.
Do you want to see a list of all local branches sorted by date? Here's a simple command to help you with that.
Looking for a way to list all merged branches in your Git repository? Look no further.
Prints a visual graph of all commits and branches in the repository.