git diff --staged shows what will be committed
@mrnarwhal55▲ 5 net votes
Plain git diff shows unstaged changes only; --staged (or --cached) shows what's in the index.
5 COMMENTS
Key
Excellent
Reliable
Treasure
Bookmarked
Plain git diff shows unstaged changes only; --staged (or --cached) shows what's in the index.
Key
Excellent
Reliable
Treasure
Bookmarked