Readme
Options:
-c, --commits number of commits to check (default: "1000")
-s, --startDate start date of the commits to look at (default: "")
-i, --ignore ignore files types (default: "")
-k, --topK Top k result to return (default: "20")
-w, --weight the weight factor of line change (default: "0.7")
-d, --debug debug mode
-a, --author show author heatmap
-h, --help display help for command
To install:
npm i git-heatmap -g
To use this tool, cd to a git directory
git-heatmap
Examples with filters
# Filter out all .json and .lock files
git-heatmap -i "**/*.json **/*.lock"
# Show author heatmap as well
git-heatmap -a
# Filter commits since 2022-01-01
git-heatmap -s 2022-01-01