DEV Community

Discussion on: 10 Terminal Commandments for Coding Newbies

Collapse
 
stackoverturf profile image
Taylor Overturf • Edited

Hi Mikey, I know exactly what you're talking about and I have made the mistake of forgetting my ending quotation mark many times!

I agree with KamilZag, CRTL + C will allow you to return to the normal command line and get out of that weirdness.

I also just saw Aschwin's great explanation, yes, if you notice your error soon enough, I have found that I can add the ending " even if I've pressed enter. However, I did not know I could update my commit message, so thank you for that!

Thread Thread
 
m1keym profile image
Mikey

Thank you all so much for your help.

I've done it a few times and then I just end up staring blankly at the screen like 'WTF do I do' hit a few keys then close the terminal, but then I have to navigate all the way back to where I was because I don't know any other way. I contemplated Googling it but couldn't think of what to ask without writing an essay.

I appreciate the help! :)