André Amorim

Crafting Web Experiences


//

List commits between two dates in Git

git log --date=short --since "JAN 1 2022" --until "JUL 1 2022" --pretty=format:'"%h","%an","%ad","%s"'

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

References:
https://git-scm.com/docs/git-log
https://stackoverflow.com/a/27313500


Published date:

Modified date: