An open API service indexing awesome lists of open source software.

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

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