How to make git log cut long comments?

后端 未结 7 1022
执笔经年
执笔经年 2020-12-14 14:43

I have a git log alias that prints each commit as a single line. Since some people write far too long one-liners in the commit log, many commits wrap to a new line. How can

相关标签:
7条回答
  • 2020-12-14 15:29
    git log --oneline
    

    Will show stripped commit heads (has codes)

    git log --pretty=oneline
    

    Will show you full commit heads (has codes)

    0 讨论(0)
提交回复
热议问题