'[git commit without message]: how to get out from it [duplicate]

Is there anyone who can help me getting rid of this?

enter image description here

It came up to my console after typing "git commit". I know I should have to provide a comment. But the problem now is that I don't know exactly what is it and particularly I can not get out of this and I can't continue with my console

git


Solution 1:[1]

Please try escape followed by !wq

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ahmed Shahid