Y
Hacker News
new
|
ask
|
show
|
jobs
by
pxeger1
850 days ago
Huh, I didn’t think of ZQ (to leave an empty commit message) to cancel the commit. I always use :cq (which exits vim with an error status)
1 comments
remram
848 days ago
If you are in `git commit --amend` or am/rebase/cherry-pick, the message did not start empty, and using ZQ will proceed with committing. :cq is a good idea.
link