Sorry, it’s q
. then press enter
You are currently trapped in vim, https://www.linux.com/training-tutorials/vim-101-beginners-guide-vim/
I tried this but its not working in my case
Try ctrl + X, I don’t know why it would be nano instead of vim though (I assume you’re using git bash?)
When q
doesn’t work, you usually need q!
. This is “quit without saving”.
2 Likes