DEV Community

Discussion on: What is your favourite Git command?

Collapse
 
maskapsiz profile image
maskapsiz

The git bisect command checkouts all versions one by one between two revision until you find the version which is not working.

$ git bisect start
$ git bisect bad # Current version is bad
$ git bisect good v2.6.13-rc2 # v2.6.13-rc2 is known to be good