SAGARFIVE

1. Introduction

2. Git Basics

3.  Git Terminology

4.  Git Branching

5.  Git - Github

6.  Git Add (Git staging)

7.  Git Commit

8.  Github Advanced

9.  Git Remote

7.6 Git bisect(Markig commits good/bad)

  • Bisect is used to mark a commit as good or bad commit
  • it is helpful in debugging to identify bad commits
  • Fix the issues and as good commits

To mark commit good with bisect
(bisect used for debugging)
git bisect good <commit-id>
To mark commit bad with bisectgit bisect bad <commit-id>
To list the bisect commitsgit bisect log
To enter bisect start
And mark all commits as good from now
git bisect start
git bisect good
To enter bisect start
And mark all commits as good from now
git bisect start
git bisect bad
To exit bisectgit bisect reset

1. Add Single Specific Good bisect commit :

To mark commit good with bisect
(bisect used for debugging)
git bisect good <commit-id>

2. Add Single Specific Bad bisect commit :

To mark commit bad with bisectgit bisect bad <commit-id>

3. Add Multiple commits as Good commits :

To enter bisect start
And mark all commits as good from now
git bisect start
git bisect good

3. Add Multiple commits as Bad commits :

To enter bisect start
And mark all commits as good from now
git bisect start
git bisect bad