Git diff of staged and unstaged changes
Answered
Hello,
is there any way how to show diff of staged changes `git diff --cached <file>` and unstaged changes `git diff <file>`. Diff window is showing only `git diff HEAD <file>`
Thank You for advice.
Please sign in to leave a comment.
No, there is no way to do so. IDE does not distinguish between staged and not staged changes.
See https://youtrack.jetbrains.com/issue/IDEA-63391
To be honest, 8 years old issue a lot of complains there and no will from JetBrains to implement it even if any current tool supports that :(