Skip to content

Comment on Discussion of the Benefits and Drawbacks of the Git Pre-Commit Hookparent

Comments

Is there a reason for that? I figure that catching bugs before pushing is faster than getting an email from GitHub, and my hardware already has all the containers running. Spinning up machines in the cloud for this feels wasteful.

if you want to reuse the local setup for ci or pushing broken code is somehow undesirable, then run all the tests pre-push

i tend to run only the fast set of tests, or a subset of the environments matrix, on pre-push — CI can take care of the rest while, i move onto do something else

when working with other the CI status is what matters

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.