TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby radihuqabout 4 years ago
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?

2 comments

git_configuredabout 4 years ago
Wait until the OP finds out about `git log`.<p>You can have GitHub establish a proxy email for you - <a href="https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;github&#x2F;setting-up-and-managing-your-github-user-account&#x2F;setting-your-commit-email-address#setting-your-commit-email-address-on-github" rel="nofollow">https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;github&#x2F;setting-up-and-managing-yo...</a>
评论 #26401176 未加载
lgierthabout 4 years ago
It&#x27;s the COMMITTER_EMAIL and AUTHOR_EMAIL as configured, this is working as intended. If you don&#x27;t want to add it to your commits, set it to something like &quot;nobody@localhost&quot;.
评论 #26401126 未加载