https://github.com/knadh/git-bars
A utility for visualising git commit activity as bars on the terminal
https://github.com/knadh/git-bars
Last synced: 8 months ago
JSON representation
A utility for visualising git commit activity as bars on the terminal
- Host: GitHub
- URL: https://github.com/knadh/git-bars
- Owner: knadh
- License: mit
- Created: 2018-11-27T11:07:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T12:14:41.000Z (almost 2 years ago)
- Last Synced: 2025-03-26T22:11:17.313Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 100
- Watchers: 2
- Forks: 18
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```shell
$> 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.