Tell HN: Find anyone's email by adding .patch to end of a Git commit URL

2 points by radihuq ↗ HN
I just discovered that if you add .patch to the end of a git commit URL, you're able to find the email address associated with the commit. This concerns me. Is there a best practice for obfuscating your email on git commits?

4 comments

[ 2.8 ms ] story [ 22.2 ms ] thread
It's the COMMITTER_EMAIL and AUTHOR_EMAIL as configured, this is working as intended. If you don't want to add it to your commits, set it to something like "nobody@localhost".
Right, its concerning as I never realized this was a feature. Updating my info now!