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?

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 years ago

    Yeah, I don’t need it often but the sort of problem it solves is very hard to solve otherwise. It is useful for when you know something is wrong and you have an easy way to check if the problem is there but when you don’t know what the actual cause of the problem is.

    The most obvious usage is for checking if the build passes. This is something easy to do with tools but hard to know why (or when) it began to fail.