I'm doing a git revert on a commit using git revert [commit number]
Real life example being:
git revert 58c128313e353b8dd7d04121824b966faefe68dc
After I do this it takes me to the screen where it shows me the revert message, but I can't exit this screen and I can't type anything.
I've tried pressing Q which is how I quit the git log screen, but this doesn't work either. When I force quit terminal and go back in, the revert has taken place.
How do I do a revert and then got back to the command line and carry on working as usual?
Here is the screenshot of what it is saying
ESC
then:q
followed byEnter
– Staunchesc
(to clear anything you mightve entered) then:q
andenter
EDIT: @Staunch beat me to it. – Ten