• 0

List all git branches with their last commit message

If you want to quickly see a list of all your branches and the last commit message on each of those branches, simply use the following commands

Only local branches

git branch -v

Only remote branches

git branch -rv

All branches

git branch -av