TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 radihuq大约 4 年前
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 条评论

git_configured大约 4 年前
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 未加载
lgierth大约 4 年前
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 未加载