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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How is git instaweb used?

2