Skip to main content

gitreveal

Every commit you push carries your email, your time zone and the exact minute you wrote it. Put a few hundred together and anyone can read where you live, where you work, when you sleep and when you went on vacation. gitreveal shows you what your own history gives away, and how to stop it.

uvx gitreveal

gitreveal demo

Demo on made-up repos for a made-up person, generated by docs/demo.py.

What it finds

How
Your work email an address at a company domain names your employer
Your personal email Gmail, iCloud, Outlook… addresses that spammers scrape from GitHub
Your school .edu and .ac.xx addresses
Your laptop's name you@Your-MacBook-Pro.local: the address git makes up when user.email was never set
Where you live the UTC offset stored in every commit, including whether it shifts for summer time
Your trips runs of commits made from another time zone, with dates
Your schedule peak hour, late nights, weekends, how much you commit during office hours
Old names every name you've committed under
Unsigned commits anyone can push a commit that says it's from you

It only looks at you

gitreveal finds the git repos in your home folder (or the folders you name) and reads only the commits whose name or email matches your own git config. There is no option to look up anyone else, and it never downloads anything: it reads repos that are already on your machine. Other people's commits in the same repos are skipped.

Repos with a GitHub, GitLab, Bitbucket or Codeberg remote are counted as public, since that's where this history is readable by anyone who clones them.

Fixing it

For new commits:

git config --global user.email 12345+you@users.noreply.github.com   # GitHub → Settings → Emails
export TZ=UTC                                                       # in your shell profile, so commits say UTC
git config --global commit.gpgsign true                             # SSH keys work too: gpg.format ssh

On GitHub, also turn on Block command line pushes that expose my email.

History you've already pushed keeps the old details. Rewriting it takes git filter-repo with a mailmap and a force push, which changes every commit hash, so only do it on repos where that's fine.

Options

gitreveal                 # repos anywhere under your home folder
gitreveal ~/code ~/work   # just these folders
gitreveal --depth 3       # how deep to look for repos (default 5)
gitreveal --json          # for scripts

Install

uvx gitreveal           # run without installing
pipx install gitreveal  # or install it

Requires Python 3.9+ and git. The only dependency is rich. macOS, Linux and Windows.

License

MIT

Metadata

Release files for gitreveal 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitreveal 0.1.0
File Size Uploaded Provenance Actions
gitreveal-0.1.0.tar.gz 11.6 kB With provenance Details for gitreveal-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gitreveal 0.1.0
File Interpreter ABI Platform Actions
gitreveal-0.1.0-py3-none-any.whl Python 3 none any Details for gitreveal-0.1.0-py3-none-any.whl

Total release size: 22.8 kB

Release files / gitreveal-0.1.0.tar.gz

Download URL gitreveal-0.1.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1db4f0e4a827326c17a9a261199e384c46317292dcbd7c84c6c6ce13fafc301b
BLAKE2b-256 checksum
How to use checksums
0ef7d42ffb7c86ecb7ecfadca2ce92ef504f3b671bc73e9952867ef6f2751adc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / gitreveal-0.1.0-py3-none-any.whl

Download URL gitreveal-0.1.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ef5a45a1f103e0f44730004236c4a2a8c621a8b5956f2da02651364f2bfab1b
BLAKE2b-256 checksum
How to use checksums
a715712c683282f1a61998961c90447c3782d13925a991a0d20e29ac8d7c9851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for gitreveal 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gitreveal-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page