5 ms·
(shameless plug): https://github.com/dandavison/delta https://github.com/dandavison/delta is a syntax-highlighting pager for git that adds syntax highlighting a
by Myrmornis 7y ago
(shameless plug): https://github.com/dandavison/delta https://github.com/dandavison/delta is a syntax-highlighting pager for git that adds syntax highlighting and within-line edit detection to all diffs displayed by git.
I agree about `git log -p`. A good trick with that is to use it as a quick way to search for a commit that includes a certain string (since the pager is less, one can search back in time with `/`).
Same trick for `git reflog -p`.
`git stash show -p` is another less-known diff command (look at a stash without applying it).