Hacker News new | ask | show | jobs
by schroffl 2620 days ago
Having properly separated and single-purpose commits is awesome when running `git bisect` [1] — especially with automatic tests. As well when you revert said commits after the offender is found.

[1]: https://git-scm.com/docs/git-bisect

1 comments

If you're using a CI that runs on every PR/master merge wouldn't it catch this without the need for git-bisect?
Only if your tests have perfect coverage. And by "perfect" I don't mean lines or branches, but program states.