Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (29.3k points)

I am using Windows and before committing, Git wants me to enter a text message and a new text window appears

screenshot

How can I exit from this?

1 Answer

0 votes
by (50.2k points)

For the vi editor or text window, you simply need to press ‘q’ that can be used to exit

First press Esc button then press ‘q’ 

If you want to save and exit then you can use press Esc then followed by a colon wq

:wq

This will save your file and exit from the vi editor and windows text.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Sep 26, 2019 in Java by Shubham (3.9k points)
0 votes
1 answer

Browse Categories

...