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
Ryan Sukale

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...

Leave a Reply

Your email address will not be published.