Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you ever use git bisect?

I like to keep a linear history mainly so I don't have to think very hard about tools like that.





--first-parent with bisect really helps when the history is messy.

I've used git bisect on a repo whose commit graph is at least 20-wide at some points. In the two cases I used it, it identified the individual commit. I didn't think very hard about it. It was the first time I used bisect. Maybe I got lucky.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: