git diff
Use
git diff
What It Does
git diff shows line-level changes that are not staged.
Practice
Read your own diff before committing.
Watch Out
After git add, use git diff --staged to see staged changes.
Linux Foundationsgit diff
git diff shows line-level changes that are not staged.
Read your own diff before committing.
After git add, use git diff --staged to see staged changes.