How to display the tag name and branch name using git log --graph

前端 未结 2 1496
陌清茗
陌清茗 2020-12-03 00:14

I am using gitk --all to view the git log. gitk does not display the sha hash for each commit. you need to manually click on the commit to view the sha hash. I want to see t

2条回答
  •  生来不讨喜
    2020-12-03 00:21

    I tried this and it works on my pc

    git log --format='here you put formats you need for your case is like %d contain branch name and %cn committer  name ' | grep -F 'origin' 
    

    this will list all branch names with committer names

提交回复
热议问题