How do I export a git log to a text file?

后端 未结 10 1554
醉酒成梦
醉酒成梦 2020-12-07 12:11

I want to export the log of all commits in a repo to a text file, is there any way to do this?

10条回答
  •  执笔经年
    2020-12-07 12:44

    You may use the > symbol send the output to a file. For example:

    git log > commits.txt
    

提交回复
热议问题