This script saves Git commits to a CSV file.
-
Download the file
-
Make the file executable
chmod +x commits2csv.sh
- Run in the repository. Pass a date since when the commits should be listed. The argument is required.
./commits2csv.sh <since_date>
The required date format is: YYY-MM-DD
. For example:
./commits2csv.sh 2022-05-05
The commits will be saved in the current working directory in: commits-<since_date>.csv
. For example: commits-2022-05-05.csv
<date>,<author_name>,<commit_message>
<date>,<author_name>,<commit_message>
<date>,<author_name>,<commit_message>
<date>,<author_name>,<commit_message>
...