Go to file
Kailash Nadh 8c935c7584 Switch git log dicts to namedtuples for readability. 2023-08-20 10:07:14 +05:30
gitbars Switch git log dicts to namedtuples for readability. 2023-08-20 10:07:14 +05:30
LICENSE Add missing LICENSE. 2023-08-20 09:58:48 +05:30
README.md Add zerodha.tech badge 2020-09-21 23:48:48 +05:30
setup.py Show year next to week number for context 2020-05-27 23:37:45 +05:30

README.md

git-bars

git-bars is a utility that uses git log to render a simple git commit activity bars on the terminal. Commit activity can be grouped by day, month, year, between two dates, and can be filtered by author.

$> cd /path/to/a/git/repo
$> git-bars -p day

78 commits
2018-11-27 4    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-11-26 9    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-11-06 10   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-11-05 11   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-11-03 2    ▀▀▀▀▀▀▀▀
2018-11-02 12   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-11-01 5    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-10-31 8    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-10-30 4    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-10-29 4    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-10-26 7    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2018-10-25 2    ▀▀▀▀▀▀▀▀

Install

pip install git-bars

See git-bars --help for options.