Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you use git bisect to determine the source of a (regression) bug?



How can you use git bisect to determine the source of a (regression) bug?..

Answer / Raghavendra Singh

To find the source of a regression bug using Git Bisect, first mark the current state as 'good' and the last known good commit as 'bad'. Then run the 'git bisect start' command. After that, execute 'git bisect bad' with the path to the latest bad commit. Once Git Bisect has narrowed down the suspect area, it will instruct you to checkout a commit and test whether it's good or bad. Continue this process by either running 'git bisect good' for a good commit or 'git bisect bad' for a bad one, until Git Bisect identifies the commit that introduced the bug.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

what is git fork? What is difference between fork and branch? How to create tag?

1 Answers  


Why GIT better than Subversion?

1 Answers  


What is git bisect?

1 Answers  


How to create tag?

1 Answers  


What is the use of ‘git log’?

1 Answers  


Name a few git commands and explain their usage.

1 Answers  


Mention the various git repository hosting functions.

1 Answers  


What is the command you can use to write a commit message?

1 Answers  


What is a ‘conflict’ in git?

1 Answers  


What is ‘git add’ is used for?

1 Answers  


What work is restored when the deleted branch is recovered?

1 Answers  


What are the advantages of using GIT?

1 Answers  


Categories