Git bisect

Advanced git for developers

  • find the good commit
  • start git bisect with git bisect start
  • set the bad commit (using the hash)
  • set the god commit with the hash
  • git bisect visualize
    • https://git-scm.com/docs/git-bisect#_alternate_terms
  • error bad rev good and bad
    • https://stackoverflow.com/questions/15407075/how-could-i-use-git-bisect-to-find-the-first-good-commit
  • bisect
    • almost the implementation of guess a number game
    • you know something is broken, what is broken but you have no idea when it broken you need to find the commit that introduce the issue
    • commands
      • git bisect
      • git bisect good
      • git bisect bad
      • git bisect visualize
  • git sub-modules
    • are pretty simple