Re:Beej's Guide to Git
by sangnoir on Thursday February 06, 2025 @03:31PM
(#42966198)
That only works if the edit buffer is blank or only has commented out lines. In other cases, such as when you're trying to cancel a `git commit --amend` that loads up the last commit message in your buffer, :q! will not cancel the commit, but :cq will.
[ Parent
| on HN ]
There are no comments on this comment yet.