git-changes-by-day is a Go command-line tool that reads git history from a target repository and writes a CSV file with one row per commit.
go build -o ./bin/git-changes-by-day .Run the compiled binary:
./bin/git-changes-by-day -repo /path/to/repo -text-out ./commit-text.csvgo run . -repo /path/to/repo -text-out ./commit-text.csvFlags:
-repo: repository to inspect. Defaults to the current directory.-text-out: output path for the per-commit text CSV.
commit-text.csv columns:
datetimedatecommit_hashgithub_author_handlegithub_author_display_nametextfiles_changedlines_addedlines_deletedlines_changed
go build ./...
go test ./...GitHub Actions includes:
ci: runs tests on pushes and pull requests.daily-artifact: generates the commit CSV artifact on a schedule or manual dispatch and uploads it as a workflow artifact.