That’s why for typical project it is useful to merge pull requests into the main branch — the linear sequence of merge commits is a record of successful CI runs, and is a set of commits you want to git bisect over.
… if you do this you completely negate your ability to use git bisect…
Quite the opposite. If you fast forward merge without squashing, you lose the ability to meaningfully bisect, since only the head of each merge is checked by CI - other commits may not even build
… if you do this you completely negate your ability to use git bisect…
Quite the opposite. If you fast forward merge without squashing, you lose the ability to meaningfully bisect, since only the head of each merge is checked by CI - other commits may not even build
My point was about merging in general. Unless you’re either
Then you’re not going to be able to effectively use git bisect.
Squash fast forward merge is the only way