Mac Terminal Commands - how to come back after forgetting to close quotation marks
This is more of a bash
question than a git
one.
For a forgotten quotation mark, see this answer on superuser.com.
Basically, press ctrl-c
to cancel the current command, then the up arrow ↑
to retrieve your last line typed.
localhost: app myMac$ git commit -m "testing>
Whoops, hit ctrl-c
.
localhost: app myMac$
Now press the up arrow ↑
...
localhost: app myMac$ git commit -m "testing
and try again.