4 ms·
If every commit passes tests, tools like `git bisect` are much more useful.
by yencabulator 5y ago
If every commit passes tests, tools like `git bisect` are much more useful.
- cerved 5y agohow do you mean?
- yencabulator 5y agoIf you find a new bug, git bisect can very quickly find which commit introduced the bug, and understanding the origin makes fixing the bug easier. That mechanism does not work nearly as well if some commits are not in a usable state.
- cerved 5y agobut if that is the case why not just git bisect skip $(git merge-base main branch) ? to me, squashing the tree to simplify an edge case seems needlessly radical