{"id":20653792,"url":"https://github.com/lukehsiao/git-stats","last_synced_at":"2026-02-27T22:45:45.802Z","repository":{"id":62118840,"uuid":"557957250","full_name":"lukehsiao/git-stats","owner":"lukehsiao","description":":bar_chart: A tool for getting aggregated commit stats","archived":false,"fork":false,"pushed_at":"2025-12-01T14:52:33.000Z","size":125,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-04T03:46:19.314Z","etag":null,"topics":["cli","git"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukehsiao.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-26T16:10:48.000Z","updated_at":"2025-12-01T14:52:36.000Z","dependencies_parsed_at":"2026-01-09T00:01:02.768Z","dependency_job_id":null,"html_url":"https://github.com/lukehsiao/git-stats","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"66fa85294a0663ed6656432b39b6c68d15761c15"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/lukehsiao/git-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fgit-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fgit-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fgit-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fgit-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukehsiao","download_url":"https://codeload.github.com/lukehsiao/git-stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fgit-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29918016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","git"],"created_at":"2024-11-16T17:48:18.664Z","updated_at":"2026-02-27T22:45:45.797Z","avatar_url":"https://github.com/lukehsiao.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    📊\u003cbr\u003e\n    git stats\n\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cstrong\u003eA tool for getting aggregated commit stats.\u003c/strong\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/lukehsiao/git-stats/actions/workflows/general.yml\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/lukehsiao/git-stats/general.yml\" alt=\"Build Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/git-stats\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/git-stats\" alt=\"Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/lukehsiao/git-stats/blob/main/LICENSE.md\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/l/git-stats\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\nGit Stats parses [log](https://git-scm.com/docs/git-log) information to get stats about the files changed, additions, and deletions.\nFor example:\n\n    $ git stats -r origin..HEAD\n     Author           Commits  Changed Files  Insertions  Deletions  Net Δ\n     Luke Hsiao            67            117       +2616      -1126  +1490\n     dependabot[bot]       31             62        +203       -267    -64\n     Total                 98            179       +2819      -1393  +1426\n\n     Reviewer/Tester  Commits\n     Luke Hsiao             1\n\n## Install\n\nThis is a glorified shell script.\nAs such, it expects that you have `git`, `sort`, and `uniq` installed on your machine and in your `$PATH`.\n\n### From crates.io\n\n```\ncargo install git-stats --locked\n```\n\nOr, if you use [`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall):\n\n```\ncargo binstall git-stats\n```\n\n## Usage\n\n```\nA tool for getting aggregated commit stats\n\nUsage: git-stats [OPTIONS] [revision-range]\n\nArguments:\n  [revision-range]  Show only commits in the specified revision range [default: HEAD]\n\nOptions:\n  -e, --email            Show the email address of each author\n  -r, --reviews          Show who reviewed/tested commits based on `Acked-by`, `Tested-by`, and `Reviewed-by` git trailers\n  -s, --sort \u003cSORT\u003e      What column to sort by [default: commits] [possible values: author, commits, files, insertions, deletions, net]\n      --reverse          Whether to reverse the sorting from descending to ascending\n  -a, --author \u003cAUTHOR\u003e  Limit the commits output to ones with author header lines that match the specified pattern (regular expression)\n      --since \u003cSINCE\u003e    Limit the commits output to ones more recent than a specific date\n      --until \u003cUNTIL\u003e    Limit the commits output to ones older than a specific date\n  -h, --help             Print help (see more with '--help')\n  -V, --version          Print version\n```\n\n\n## TODO\n\n- [] It would be nice to support _all_ git log flags automatically, just passing them through directly and then doing the math only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehsiao%2Fgit-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukehsiao%2Fgit-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehsiao%2Fgit-stats/lists"}