I'd like
git diff
to only display the differences, nothing "near" my changes.
How can I do this?
I'd like
git diff
to only display the differences, nothing "near" my changes.
How can I do this?
Turns out the git docs don't use the word "near". They use "context" instead, so
git diff -U0
means display 0 lines of context around your diffs, as described in the git-diff
man page:
-U, --unified= Generate diffs with lines of context instead of the usual three. Implies