How to make git log cut long comments?

后端 未结 7 1027
执笔经年
执笔经年 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)

提交回复
热议问题