Staged Changes

To view the changes you've staged with git add, but not yet committed, use git diff --cached.

To view the changes you've staged with git add, but not yet committed, use git diff --cached. This command compares the staged files against their original versions in the repository. It's a quick way to review what you're about to commit before finalizing it.

Free Resources