Hacker News new | past | comments | ask | show | jobs | submit login
Tell HN: Find anyone's email by adding .patch to end of a Git commit URL
2 points by radihuq on March 9, 2021 | hide | past | favorite | 4 comments
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?



Wait until the OP finds out about `git log`.

You can have GitHub establish a proxy email for you - https://docs.github.com/en/github/setting-up-and-managing-yo...


Nice, thanks!


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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: