I staged a lot of files using git add
, and now I want to see all the files I have staged, without untracked files or changed, but unstaged files.
How do I do that? When using git diff --cached
I can see the changes of what I just staged. So then I tried using git status --cached
, but that --cached
unfortunately doesn't work on git status
.
git status
gives you a list of staged files, a list of modified yet unstaged files, and a list of untracked files. – Conantgit status
shows you a diff. (It doesn't show you all staged files). – Kenon