Comment montrer les changements qui ont été mis en scène
git diff --staged # or you can use --cached (they are synoyms, see the source)
fast_and_the_curious
git diff --staged # or you can use --cached (they are synoyms, see the source)
git diff --cached
# bash check whether there are any staged changes in git
git diff --cached --quiet && echo nostaged || echo somestaged