~fabrixxm/sgs

git activity graph generator in bash
Update readme
Update example graph
Fix right margin

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~fabrixxm/sgs
read/write
git@git.sr.ht:~fabrixxm/sgs

You can also use your local clone with git send-email.

#SuppaGitStats

The git activity graph generator nobody asked for, in bash.

It draws a github-like activity graph from commits count in repos on disk.

#Usage

sgs [-h|--help] [-o <output file>] [-f <date from>] [-t <date_to>] [-a <author email>]... [folder]


  folder      The folder from where start to looking for git repos (default: current dir)

  -h --help   Print help
  -o          Output file name (default: graph.svg)
  -f          Draw grap starting from date (YYYY-MM-DD) (deafult: a year before end date)
  -t          Draw grap up to date (YYYY-MM-DD) (default: today)
  -a          author name or email to match to select commit for the grap (default: current user name)
              Can be specified multiple times

#Requirements

  • bash
  • git
  • find, grep, awk, cut, sort etc etc
  • uses fd if installed