News for hackers. Stuff that matters.
Re:Popular Git config options by pxeger1 on Friday February 16, 2024 @06:49PM (#39404606)
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)
Re:Popular Git config options by remram on Saturday February 17, 2024 @11:35PM (#39416251)
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.