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.

Show HN: Personal Time Tracking with Git

16 pointsby thisdougbabout 2 months ago
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 comments

gerardnicoabout 2 months ago
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 未加载
jarbusabout 2 months ago
Not a git guru, but I love this.
评论 #43514774 未加载