Re:Git undo: We can do better
by chriswarbo on Monday June 21, 2021 @01:10PM
(#27581178)
Git invokes an editor, for writing commit messages, etc. (it looks in the VISUAL and EDITOR env vars). That could be a GUI text editor, or something running in the CLI (personally, I use emacsclient to open a new buffer in an existing Emacs window)
What they're saying is: if you quit that editor without saving the commit message, git will abort.
What they're saying is: if you quit that editor without saving the commit message, git will abort.