this post was submitted on 25 Jun 2023
58 points (100.0% liked)

Programming

17000 readers
320 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

cross-posted from: https://programming.dev/post/214031

Have you ever used git bisect? If so, how did you use it? Did it help you find a problem which would otherwise be difficult to find? Story time, I guess?

you are viewing a single comment's thread
view the rest of the comments
[–] Raicuparta 6 points 1 year ago

If you know about bisect and don't find it useful, my first guess is you aren't making enough commits (or you're squashing too many of them). Keep your git history granular, make intermediary commits when possible (as long as the intermediary step doesn't make it completely broken), and you'll be using bisect for a good chunk of regressions.