
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
git-heatmap
Advanced tools
Shows a heatmap for your Git repositories.

$ pip install git-heatmap
Usage: git-heatmap [OPTIONS]
Options:
-r, --repo TEXT Path to git repository (can be relative)
-a, --author TEXT Author email (default all authors)
-b, --branch TEXT Branch (default all branches)
-s, --start TEXT Start date (YYYY-MM-DD, defaults to current year
start)
-e, --end TEXT End date (YYYY-MM-DD, defaults to current year end)
-c, --character TEXT Character to use for heatmap (defaults to ▧)
-sh, --shade TEXT Color to use for heatmap (defaults to 0;255;0)
--help Show this message and exit.
Run git-heatmap ...
# in a directory that's already a git repository
$ git-heatmap
# on a repository elsewhere
$ git-heatmap -r /path/to/repo
# on multiple repositories!
$ git-heatmap -r /path/to/repo -r /path/to/other
# limit by author email
$ git-heatmap -a me@myself.com
# limit by multiple authors email
$ git-heatmap -a me@myself.com -a him@himself.com
# pick a specific branch
$ git-heatmap -b main
# pick multiple branches
$ git-heatmap -b main -b develop
# start from date
$ git-heatmap -s 2023-02-01
# end on date
$ git-heatmap -e 2023-02-28
How about some character and color change as well?

You can do this via:
# change characters
$ git-heatmap -c '⊚'
# change colors
$ git-heatmap -sh "255;255;0"
Mostly fun, I like things cli. It's also rather annoying that github's heatmap only targets the primary branch of a repository.
No, this is purely commits, including merge commits (I think! :-))
All branches!
Yes, that's why it only counts unique commit hashes.
Github got it wrong, check any month's start date and notice how they push the label one column further. If you still feel they got it right, create an issue and show a screenshot, I'll fix it.
No, this internally uses git-rev-list.
That was the original plan, but we are where we are...
Yes you can. Remember this is meant as tiny fun project.
FAQs
A tool to generate a heatmap of your git commits
We found that git-heatmap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.