Git Debugging Techniques

https://www.pluralsight.com/courses/git-debugging-techniques

by Aaron Stewart 

Mod 1: Course Overview

  1. Course Overview

Mod 2: Debug Using Binary Search with Git Bisect

  1. Three Git Debugging Techniques
  2. Git Bisect Use Cases
    • git bisect
      • use to track down when and where a bug was introduced
  3. How to Use Git Bisect
  4. Git Bisect in Action try it
    • step 1) you start by doing git bisect start
    • step 2) git bisect good <good commit>
    • step 3) git bisect bad <bad ommit>
    • step 4) test the code
    • step 5) if test fails, inform git by doing git bisect bad
    • step 6) repeat steps 4 and 5 until bug is found
    • step 7) end session by doing git bisect reset
  5. Automate Git Bisect
    • automate git bisect by using a script try it

Mod 3: Debug Using File History with Git Blame
  1. Introduction to Git Blame
  2. Git Blame Use Cases
  3. Git Blame in Action
    • using git blame with line numbers like this: git blame -L 67,82 index.html
    • If you're in a situation where you can see the effect of a bug, but aren't sure which part of the code leads to it, use git bisect
Mod 4: Debug Using a String or Regular Expression with Git Grep
  1. Introduction to Git Grep
  2. Git Grep Use Cases
      • use git grep to search the contents of you file
          • you can search in specific branch names
      1. Git Grep in Action
      2. Summary

      Comments

      Popular posts from this blog

      Angular Routing and Navigation Playbook

      Working with Files in C# 10

      Mastering Git