(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43404548

Hacker News上的一篇文章重点介绍了用户weebst开发的一个新的CLI工具“Git who”,该工具改进了Git作者分析。Weebst将其描述为GitHub贡献者标签的更快、更灵活的替代方案。其主要功能包括高效地探索Git提交日志作者数据。作者邀请用户提供反馈和建议。 用户jtwaleson和andrewfromx提供了初步回复。Jtwaleson正在从事类似的项目,他表达了对该工具的blame缓存实现的兴趣,并建议就forward blame的创建交换想法。Andrewfromx指出,用户拥有多个提交邮箱的问题,并建议添加一个功能将这些邮箱映射到单个身份。Sebastianlay和jtwaleson都提到了`gitmailmap`,这是一个内置的Git解决方案,用于将多个姓名和邮箱映射到同一个身份。


原文
Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: "Git who" – A new CLI tool for industrial-scale Git blaming (github.com/sinclairtarget)
13 points by weebst 1 hour ago | hide | past | favorite | 4 comments
I've always wanted a better way to explore the authorship data embedded in a Git commit log. I'm having fun building a CLI tool to do this.

It's a bit like the "Contributors" tab on Github that shows you how many commits each contributor has made but much faster and with many more options.

If you get a chance to try it out, please let me know. I'd love to hear feedback and suggestions. Thank you!











Very cool, I'm working on something similar as part of a bigger project (not TUI related). I'm interested in how you did blame caching, will take a look at the implementation. I am trying to do a "forward blame" so that the blame of new commits can be created very quickly. Happy to exchange some thoughts around this!


I like it. A problem I had right away is some people commit using two different emails. Like one from home computer and one from work computer. Would be nice to be able to define them as the same thing.


You might be able to do that with built-in git functionality called gitmailmap. It is basically a file where you can map multiple names and emails to the same one.


That's what the mailmap is for.






Join us for AI Startup School this June 16-17 in San Francisco!


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



Search:
联系我们 contact @ memedata.com