Interview Prep/Git & GitHub/Rapid-fire commands

Ignore whitespace-only changes in a diff, and detect whitespace errors before committing.

BeginnerProductionRapid-fire commands
Answer
git diff -w
git diff --check
All Git & GitHub questions Roadmap: Git & GitHub

More on Rapid-fire commands