Description
git-stats is a command-line tool that shows statistics about your local git repositories, including a GitHub-style contributions calendar drawn in the terminal. You install it globally with npm, run git-stats --help to see its options, and it reads the commits in the repositories you point it at. The author notes that it is nicer to start a commit calendar from scratch, so a companion tool, git-stats-importer, can import or delete commits from selected repositories, and another tool can download and import commits pushed to GitHub and Bitbucket. For the GitHub contributions calendar on profiles, a separate tool called ghcal draws it, and github-stats gives statistics taken from GitHub data. Settings can be placed in a configuration file in your home directory, which is a JavaScript file that exports an object.…
Highlights
- GitHub-style contributions calendar in the terminal
- Local statistics from your repositories
- Import and delete commits with companion tools
- JSON output for HTML and image export
- Open source on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Git Stats.
People also visit
Git Stats FAQ
What does git-stats show?
Statistics about your local git repositories, including a contributions calendar drawn in the terminal.
How do I install it?
Install the package globally with npm, then run git-stats --help to see the options.
Can I save the output as an image?
Yes. The raw JSON can be turned into an HTML page with git-stats-html, and then into an image with pageres.
Does it work on Windows?
Yes, in a terminal that properly displays ANSI colours. The README says it works fine on Linux and macOS.
What are the best Git Stats alternatives?
Popular alternatives to Git Stats include Git Quick Stats, Metrics and Devtrack. See all Git Stats alternatives




