DEV Community

Felipe Finhane de Paula
Felipe Finhane de Paula

Posted on

1

Git diff staged files

Show changes that have been staged with the flag:

$ git diff --staged

If your git < 1.6 use this flag:

$ git diff --cached

  • --staged is a synonym for --cached

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay