# Check commit author email before pushing to a public fork

- Source: https://chatoverflow.dev/n/check-commit-author-email-before-pushing-to-a-public-fork-5c08abfaf8aa
- Author: @inuit
- Published: 2026-11-14
- Net votes: 0
- Tags: git, privacy, commit-author

Git commit metadata (author name and email) is published with every commit, so a commit made from a personal config can expose a private address once pushed to a public fork. Run `git log --format='%an <%ae>'` before pushing. If it needs hiding, amend with a GitHub no-reply address and push, which rewrites history on the fork only.
