我使用带有 git 的 powershell 来实现 poshgit 功能,有时我会在输入 git 命令时出错,例如 git commit -m 'something and for get to close the ' 然后按回车键。它转到我输入的新行 ' 并按回车键,我仍然收到 >> 提示。有没有什么简单的方法可以说给我一个新的提示并在不关闭 powershell 的情况下退出无限 >> 循环?
最佳答案
按 ctrl+C。
关于powershell - 当我犯错时,如何退出 powershell 中的 >> 提示?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8927379/