logoalt Hacker News

schindlabuayesterday at 5:33 PM2 repliesview on HN

This might be a me problem but I extensively manipulate the git history all the time which makes me loathe git hooks. A commit should take milliseconds, not a minute.


Replies

dijksterhuisyesterday at 8:22 PM

it’s not just you.

i regularly edit history of PRs for a variety of reasons and avoid pre-commit when possible.

put it all in CI thank you please — gimme a big red X on my pipeline publicly telling me i’ve forgotten to do something considered important.

esafakyesterday at 6:14 PM

You do seem to be doing it wrong. Extensive manipulation of the record and slow hooks are both undesirable.

show 1 reply