Tricks That Save You Time
85%
Compare Changes Like a Detective
You've already used git diff to see uncommitted changes. But there are a few variations worth knowing.
To see what's staged (ready to commit) vs. what's already committed:
git diff --staged
This is useful when you've run git add and want to review exactly what will be in your next commit before you run git commit.
Learn Git in a Day
Everything you need, nothing you don'tEnroll now to unlock all content and receive all future updates for free.
Unlock now $9.99$7.49Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
