git commit -a -m "globgolab
I didn't add a " at the end, pressed enter, and got stuck in > hell. What to do?
pic
CodePudding user response:
When you didn't add a "
at the end and pressed Enter, bash
decided the command was not completed so it issued a secondary prompt (>
) to allow to complete the command. You can do one of two things:
Type "
Enter to complete the command and finish committing.
Type Ctrl C to interrupt committing and return to the command prompt. Don't forget to commit later.