Skip to content

wasabina67/git-commits-by-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-commits-by-date

Git commits by date

Setup

pipenv shell
pipenv sync --dev

Create daily_commits.csv

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

python run.py plot

plot.png

bar

python run.py bar

bar.png

Releases

No releases published

Packages

No packages published