3 ms·
A useful, related trick. Enable commit.verbose to have Git append a diff to the commit message template, which you can quickly consult when writing a commit me
by greyface- 5y ago
A useful, related trick. Enable commit.verbose to have Git append a diff to the commit message template, which you can quickly consult when writing a commit message.
git config --global commit.verbose true
https://tekin.co.uk/2020/03/git-commit-verbose-mode https://tekin.co.uk/2020/03/git-commit-verbose-mode
- yjftsjthsd-h 5y agoThank you; here I'd been using an alias for `git commit -v` all this time:)
- bin_bash 5y agowow thanks for this! I often find myself amending after running `git show` to get this information