How to do equivalent of git diff --staged
?
#27148
lexual-anz
started this conversation in
Git
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies if super dumb question, but I couldn't discover how to do this via the UI.
Let's say I have 10 edits in my file, with 10 "hunks".
I stage 3 of them.
How do I do equivalent of
git diff --staged
(i.e. show me the diff between working tree & INDEX/staging)?Otherwise, I have to scroll through the diffs, and notice the different shadings of the gutters to figure this out?
using integrated git-support is basically a deal-breaker for me, without this.
Beta Was this translation helpful? Give feedback.
All reactions