Display the most recent commit of each branch in git

前端 未结 2 1816
滥情空心
滥情空心 2021-01-21 12:22

Is there a way to display the most recent commits of each branch in git?

I have a codebase in git that I\'ve set down for a while. There are several branches in it for d

2条回答
  •  [愿得一人]
    2021-01-21 12:41

    git branch -v
    

    will display the (short form of) the most recent commit's SHA1 in its second column and the description after that.

提交回复
热议问题