Using `git log` with line numbers
Teacher: teh Googles and my own intelligence. (OMG A FIRST.)
If, like in my previous post, you are reading a big git log -p --reverse e4bb271..HEAD or similar, you might want to duck in and out to make notes. Maybe you want to jump a few lines. For whatever reason, let's assume you want to use line numbers and you want to use the standard less.
When inside the git log, type -N or --LINE-NUMBERS if you're feeling particularly masochistic (source). This will make the line numbers appear, and you'll lose half your terminal window to leading whitespace on those numbers.
To get to a specific line number, typing 350g will take you to line number 350, 50p will take you 50% into the file and 100P will take you to the line with the hundredth byte.(source).










