I am new to GIT and trying to do some of its basic operations, working with Windows.
I am successfully able to add a new file using command:- git add "filename.txt"
When I try to commit is using command:-- git commit "filename.txt"
, a new editor window opens and there I add the commint message. I am not able to come out of it.
If I do ctrl+c, I get to the start point but changes are not committed.
I do not want to use -m to add message.
How can I save the added message in the editor window?