GitCheatSheet.org logo
Home / How To

Show the changes of files that are staged

git diff --staged

Shows what changed since the last commit and is staged for commit. Note: you can use "--cached" instead of "--staged". They mean the same thing.