GitHistory
git diff
Shows changes between commits, the working tree, and the staging area.
Syntax
git diff [--staged] [<commit>..<commit>]
Examples
Show staged changes only
git diff --stagedShows changes between commits, the working tree, and the staging area.
git diff [--staged] [<commit>..<commit>]
Show staged changes only
git diff --staged