← Useful Tips
git diff --word-diff: Inspect text changes word by word
Use git diff --word-diff to inspect text changes word by word. It makes version-control work faster and reduces avoidable mistakes.
git diff --word-diff
Why it helps
Use git diff --word-diff to inspect text changes word by word. It makes version-control work faster and reduces avoidable mistakes.
How to use it
- Open the relevant app or terminal.
- Use the shortcut or command above in the relevant context.
- Check the result; for commands that change data, test on a small example first.
People also search for
git diff --word-diff: Inspect text changes word by wordgit diff --word-diffinspect text changes word by wordhow to inspect text changes word by wordGit inspect text changes word by word