enter image description here
How to save and close an editor in IntelliJ IDEA during a merge commit?
I try to type a message and press Enter but nothing happens.
I tried this, but it’s not working:
i: insert just before the cursor
I: move to beginning of line and (i)nsert
a: append just after the cursor
A: move to end of line and (a)ppend
o: open a new line just below the current line
O: open a new line just above the current line
R: enter REPLACE mode (similar to INSERT mode)
q – if you haven’t made any modifications, or saved them beforehand
q! – ignores any modifications and quit
wq – save and quit
x – this is similar to wq
AND this
press i (i for insert)
write your merge message
press esc (escape)
write :wq (write & quit)
then press enter
Paul is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.