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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How to know which GitHub account made a commit?

2 点作者 valera_rozuvan将近 6 年前
Suppose a company has a large private GitHub repository. There are 200 GitHub accounts allowed to commit there. If it is discovered that the Git history of that private repo contains commits with suspicious code, obviously they were made by someone from the 200 allowed GitHub accounts. What if the rogue commiter specified an e-mail not known to the company (for example &quot;user@example.com&quot;) in the commit metadata. From the GitHub UI, it is not possible to click on the user for that specific commit (from the list of all commits in a repo). Because the e-mail &quot;user@example.com&quot; is not tied to any GitHub user account.<p>How is it possible to discover original GitHub user of a rogue commit in a repository? Does GitHub keep somewhere &quot;pusher&quot; information for each commit?

暂无评论

暂无评论