Re:Idiot Proof Git
by sampo on Wednesday November 09, 2022 @11:38AM
(#33534077)
> I really like squash merges because then you know tests passed at every commit. Makes bisect easier
Here is a script (just 3 lines) that tells git bisect to ignore commits in the feature branches, so you can bisect only the commits (usually the merge commits) in the main branch. Best of both worlds.
Here is a script (just 3 lines) that tells git bisect to ignore commits in the feature branches, so you can bisect only the commits (usually the merge commits) in the main branch. Best of both worlds.
https://quantic.edu/blog/2015/02/03/git-bisect-debugging-wit...