https://github.com/wasabina67/git-commits-by-date
Git commits by date
https://github.com/wasabina67/git-commits-by-date
git-commit matplotlib pandas pipenv pyenv
Last synced: about 1 month ago
JSON representation
Git commits by date
- Host: GitHub
- URL: https://github.com/wasabina67/git-commits-by-date
- Owner: wasabina67
- License: mit
- Created: 2024-10-16T10:09:46.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-22T13:25:20.000Z (6 months ago)
- Last Synced: 2025-01-30T16:19:02.900Z (3 months ago)
- Topics: git-commit, matplotlib, pandas, pipenv, pyenv
- Language: Python
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-commits-by-date
Git commits by date## Setup
```bash
pipenv shell
``````bash
pipenv sync --dev
```## Create daily_commits.csv
```bash
git --no-pager log --shortstat --pretty=format:'%ad' --date=short \
| grep -E '^[0-9]{4}-[0-9]{2}-[0-9]{2}$' \
| uniq -c \
| awk -v 'OFS=,' '{print $1,$2}' > daily_commits.csv
```## Create png
### plot
```bash
python run.py plot
```### plot.png
![]()
### bar
```bash
python run.py bar
```### bar.png
![]()