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 commands will you use to bring a new feature to the main branch?

1 Answers  


What language is used in GIT?

1 Answers  


What does ‘hooks’ comprise of in git?

1 Answers  


Mention some of the best graphical GIT client for LINUX?

1 Answers  


How will you know in git if a branch has already been merged into master?

1 Answers  


What are the benefits of using version control system?

1 Answers  


What is a git commit and what does the commit object contain?

1 Answers  


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

1 Answers  


What is ‘head’ in git and how many heads can be created in a repository?

1 Answers  


What is the difference between rebasing and merge in git?

1 Answers  


What is the function of ‘GIT PUSH’ in GIT?

1 Answers  


What is git fork?

1 Answers  


Categories