WeCodeAcademy
❮ git diffgit branch ❯

git diff --staged

Shows staged changes.

Group: History

Syntax

git diff --staged

Example

Examplebash
Open in editor »
/ $

← All of Git Command Reference