Display plot of changes in repo - count of lines or changed lines
Use pip to install the package:
$ pip3 install git-commits-graph
or pipx to install in isolated environment:
$ pipx install git-commits-graph
plot timeline of both added and removed lines in your repo:
$ git-commits-graph your-repo-path -c
plot lines count evolution in time.
$ git-commits-graph your-repo-path -t
$ git-commits-graph --help
Usage: git-commits-graph [OPTIONS] GIT_DIR
Plot git commits timeline main function.
Options:
-b, --branch TEXT git repository branch to browse.
-s, --style TEXT matplotlib plotting style to use.
-c, --changes plot timeline of both added and removed
lines.
-t, --total-lines plot lines count time evolution.
-g, --aggregate-by TEXT aggregate by: Y - year, M - month, W - week,
D - day
-l, --log-scale aggregate by day
-a, --list-available-plot-styles
list available plot styles and exit.
-e, --engine TEXT plotting engine to use (matplitlib | plotly)
-o, --output-file TEXT output file name (for plotly backend)
--help Show this message and exit.
danielfleischer/git-commits-lines-graph - A small python script to visualize the number of lines in a project, as a function of time.