๐ Generate insightful visual reports from Git.
๐ Documentation: gitstats.readthedocs.io
gitstats . report
generates this gitstats report.
pip install gitstats
gitstats is compatible with Python 3.9 and newer.
gitstats <gitpath> <outputpath>
Run gitstats --help
for more options, or check the documentation.
Here is a list of some features of gitstats
:
- General: total files, lines, commits, authors, age.
- Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year.
- Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year.
- Files: file count by date, extensions.
- Lines: line of code by date.
- Tags: tags by date and author.
- Customizable: config values through
gitstats.conf
. - Cross-platform: works on Linux, Windows, and macOS.
As an open source project, gitstats welcomes contributions of all forms.
The gitstats project was originally created by Heikki Hokkainen and is currently maintained by Xianpeng Shen.