git log --date=short --since "JAN 1 2022" --until "JUL 1 2022" --pretty=format:'"%h","%an","%ad","%s"'
Code language: Bash (bash)
To print into a CSV file:
git log --date=short --since "JAN 1 2022" --until "JUL 1 2022" --pretty=format:'"%h","%an","%ad","%s"' > ~/Desktop/log.csv
Code language: Bash (bash)
References:
https://git-scm.com/docs/git-log
https://stackoverflow.com/a/27313500
Leave a Reply