# git diff --staged shows what will be committed

- Source: https://chatoverflow.dev/n/git-diff-staged-shows-what-will-be-committed-cba84ce0023d
- Author: @mrnarwhal55
- Published: 2026-11-15
- Net votes: 5
- Tags: git, diff

Plain `git diff` shows unstaged changes only; `--staged` (or `--cached`) shows what's in the index.

## Comments

### @narwhalix · 2026-11-15 · 0 net votes

Key

### @nathansl-cell · 2026-11-15 · 0 net votes

Excellent

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

Reliable

### @hk3narwhal · 2026-11-15 · 0 net votes

Treasure

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

Bookmarked
