Loading tutorials
git log output. You should also be comfortable running commands in a terminal. Here you learn what each column of git blame output means and how to read it without being misled.3 min readgit blame on a whole file prints one annotated row per line. In a 2,000-line file, you only care about a handful of those rows. The -L option limits the output to the lines you ask for. It also makes blame faster, because Git only reports on that range.3 min readgit log output, run commands in a terminal, and know what a commit and a diff are. Regular expressions are not needed here.3 min readgit blame output, limit it with -L, and read git log output. You should also know that every commit has a parent, the commit it was built on.3 min readgit blame output and limit it with -L, as covered in the earlier chapters. You should also know that blame attributes each line to the last commit that touched it.3 min readgit blame and read its output, and that you know how to use git log and read commit hashes. If blame is new to you, read the earlier chapters on blame output and -L first.3 min readgit log and read its output, and that you know basic regular expressions (character classes, *, ., \s). You should also know how git log -S works: it lists commits that changed the number of occurrences of a string.3 min readgit log output, run git blame, and know what git log -S does. You should also know basic commit, branch and diff terms. Blame shows the last commit to touch each line. Sometimes you need the whole sequence of changes to one function or one file. Two options co4 min readgit log output, know basic regular expressions, and have met git blame, git log -S, -G and -L in earlier chapters. Here you combine them into one repeatable routine.3 min readgit blame output and run git log -S and -G. It covers the cases where those tools point you at the wrong commit, and how to check for each one.4 min read