Command

Git Show Staged Changes Command

The Git command to show staged changes is git diff --staged.

Quick Answer

Command
git diff --staged
GitCommand

Show Staged Changes

Type this command
git diff --staged

Shows changes that are staged for the next commit.

Learn More

How to show staged changes in Git

  1. Open the terminal or command interface for Git.
  2. Type git diff --staged, replace any placeholders, and run it.

Git Show Staged Changes Command

Run git diff --staged.

Related Commands

Frequently asked questions

What is the Git command to show staged changes?

Run git diff --staged.

Where do I type this Git command?

Type it in the terminal or command-line interface used by Git.

Does this Git command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify