Hacker News new | ask | show | jobs
by roryrjb 2173 days ago
I pretty much always write my commit messages in Vim and never knew about -v, this is really nice thanks for the tip. Going to set it as default with:

    git config --global commit.verbose true
1 comments

It's useful, but makes you wonder why they haven't taken it one step forward and allow you to edit the diff too while you're at it.
You could if you also have the output of git diff. Then you could stage and unstage hunks or parts of them using a combination of recountdiff and git apply --cached
That sounds positively radical. Like magit taken to its conclusion.