So, on each branch if I do “git log” or “git lg”, it will show a list of commits done.
Now, is there a way to display the latest commit on each branch when I enter “git branch -arg”? I find it a bit annoying/tedious to have to checkout each branch then check the commits using “git log”.
git branch -vlists branch names and the SHA and commit message of the latest commit on each branch.See the git branch manual page.