git diff
noun
say it: “GIT DIF” /ɡɪt dɪf/
A Git command that shows, line by line, what changed in your files: lines taken out and lines put in, compared with the last saved version.
What does git diff do?
git diff — Shows line-by-line differences between selected versions or file states.
git diff
In a sentence
- “After rerunning the notebook, git diff showed hundreds of changed lines for a one-number update.”
- “Before committing, she ran git diff to see exactly which lines of the report script had changed.”
Level: Novice · More Git terms at this level
Updated