How do I generate a git commit log for the last month, and export it as CSV?

前端 未结 3 665
难免孤独
难免孤独 2021-01-30 00:39

Is there a way to generate a git commit log for the last month, and export it as a CSV file? I\'m looking for something I can run from the command line, or a 3rd party app. I\'d

3条回答
  •  悲哀的现实
    2021-01-30 01:26

    This command creates a formatted CSV containing hash,user,date/time,description,files changed,insertions,deletions

    git log --pretty=format:'"%h","%an","%aD","%s",' --shortstat --no-merges | paste - - - > log.csv
    

提交回复
热议问题