Skip to content

moltenbot000/git-changes-by-day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-changes-by-day

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.

Build

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.csv

Usage

go run . -repo /path/to/repo -text-out ./commit-text.csv

Flags:

  • -repo: repository to inspect. Defaults to the current directory.
  • -text-out: output path for the per-commit text CSV.

Output

commit-text.csv columns:

  • datetime
  • date
  • commit_hash
  • github_author_handle
  • github_author_display_name
  • text
  • files_changed
  • lines_added
  • lines_deleted
  • lines_changed

Development

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages