Loading tutorials
main. The cause is somewhere in between. This chapter explains why git bisect can locate that commit in a handful of tes7 min readgit bisect session by hand. You will mark the two endpoints, test the commits Git picks for you, read the result, and end the session cleanly. Later chapters replace the manual testing with a script. The session mechanics stay the same, so it pays to know them6 min readgit bisect run has no way to inspect your code and no knowledge of your test framework. It sees one number per commit: the exit status of the command you gave it. This chapter covers how Git reads that number, which values mean what, and which mistakes make a bisect point at the wrong commit.6 min readcheckout and tag. It also assumes you know the exit code contract from the previous chapter: 0 means good, 1 to 127 (except 125) mea6 min readgit bisect session and that you know the exit code contract from earlier chapters: 0 means good, 1 to 127 except 125 means bad, 125 means skip, and 128 or higher aborts the session. You should also be comfortable with shell scripts and with your project's 6 min readgit bisect session, that you know the exit code contract (0 good, 1 to 127 except 125 bad, 125 skip, 128 and above abort), and that you have a reproducer script that you have already checked on both endpoints. Here you will hand the whole search to Git.6 min readgit bisect run with a script and that you know the exit code contract: 0 means good, 1 to 127 (except 125) means bad. It covers the code that falls outside the good/bad split: 125, which tells Git "I can't judge this commit."6 min readgit bisect run with a working reproducer script, as covered in the earlier chapters. It covers what happens after the search stops: how to read Git's final report, how to check that the commit it names is the real cause, and how to leave the repository in a6 min readgit bisect run and have a reproducer script that follows the exit code contract. It covers what a bisect session leaves in your repository, how to end it cleanly, and how to save and restore it.7 min readgit bisect session (start, good, bad, reset) and that you know the exit code contract for git bisect run: 0 means good, 1 to 127 except 125 means bad, 125 means skip, and 128 or higher aborts the search. The chapter shows how to rename the two st8 min readgit bisect run with a script that follows the exit code contract (0 good, 1 to 127 except 125 bad, 125 skip). It also assumes you know what a merge commit is and what "first parent" means. Everything here applies to a repository whose main branch is built from merg7 min readgit bisect run with a script that follows the exit code contract (0 good, 1 to 127 except 125 bad, 125 skip). It also assumes you know how to check a script against the good and bad endpoints. Here you will learn what happens when the test itself gives diff7 min read