⌨️/diff Command
Also known as /diff, Diff panel
It shows each change in your files not yet committed.
Think of it like
It is like a list of each page you marked, and what you changed.
Example
Before he commits, Jack opens /diff and sees Claude also changed a config file he did not expect. He asks Claude to put it back.
Why it matters
You should read what changed before it is committed. This is the quickest place to do it.
Definition
Example code
console
/diffCommon mistake
Key takeaways
- 1Uncommitted changes. Claude's and yours.
- 2Lines added, removed. Per file.
- 3Stays open. In fullscreen.