List all git branches with their last commit message

If you want to quickly see a list of all your branches and the last com­mit mes­sage on each of those branches, sim­ply use the fol­low­ing commands

Only local branches

git branch -v

Only remote branches

git branch -rv

All branches

git branch -av

Ryan Sukale

Ryan is a UX engineer living in San Francisco, California.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *