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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Personal Time Tracking with Git

16 点作者 thisdougb大约 1 个月前
I&#x27;ve been trying to figure out how long feature development takes, for years. I&#x27;m not a fan of (a priori) estimations of work, which just seem like the wrong measure. I think I&#x27;ve got a better way.<p>Genuinely interested if some git gurus can improve this. Particularly around the pre-push hook, which is dependent on retained squash commit text. Or if there&#x27;s an entirely better way to achieve the same thing.

2 条评论

gerardnico大约 1 个月前
Instead of creating a tag, you could add the time in your commit message as a footer key following the conventional commit spec.<p><a href="https:&#x2F;&#x2F;www.conventionalcommits.org&#x2F;en&#x2F;v1.0.0&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.conventionalcommits.org&#x2F;en&#x2F;v1.0.0&#x2F;</a><p>Ie example of commit message<p>fix: prevent racing of requests<p>Desc<p>Time-spend: Z
评论 #43537222 未加载
jarbus大约 1 个月前
Not a git guru, but I love this.
评论 #43514774 未加载