4

I am new to Git and trying to lean the revert command. After reverting a specific commit the following screen appears. As per tutorials Crtl-X not working. What should I do??

pic Result

3
  • FYI, a revert is just another commit. You're simply committing the inverse of the previous commit. Commented Aug 13, 2019 at 18:22
  • You should write a comment or bug to the author of the tutorial--they assumed that your system editor was nano when it could very well be vim (as mentioned here). The author probably had a configuration where nano was their editor without realizing that this wasn't universal. Commented Aug 13, 2019 at 18:31
  • stackoverflow.com/search?q=%5Bgit%5D+exit+vim Commented Aug 13, 2019 at 18:31

1 Answer 1

7

I think you're asking how to exit edit mode in Git Bash. Type colon (:), then enter wq for "write, quit".

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.