3 ms·
There’s a really easy way to check the diff before committing on the command-line: git commit -v Displays a diff at the bottom of the editor that pops up
by fiddlerwoaroof 5y ago
There’s a really easy way to check the diff before committing on the command-line:
git commit -v
Displays a diff at the bottom of the editor that pops up to write a commit message.
- cerved 5y agoyou can also set git config commit.verbose true to always have this behavior