Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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


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


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
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.6k users

Browse Categories