卡在 git bash 中,我在写入提交消息后输入了 return 键,现在我得到了 > 符号并且无法退出回到正常 $

Stuck in git bash , I entered return key after writing the commit message ,, now i get the > symbol and cant exit back to normal $

[![在此处输入图片描述][1]][1]

我错过了最后一个 ' 现在它显示我 > 并且无法摆脱它,见下文 * 感谢您的帮助 [1]: https://i.stack.imgur.com/P3t0D.png

只要再输入一个'然后回车,或者直接按CTRL+C取消命令。

实际情况:引用实际上是由 Bash 而非 git 解释的,未完成引用实际上是一个有效的案例; Bash 解释器将继续接收输入,包括 returns,直到找到匹配的引号。