当按q退出git日志时,日志退出成功,但是"q"也跟着下一个提示打印
When pressing q to exit git log, the log quits successfully, but the "q" also prints following the next prompt
复制:
$ git log
... # <first section of log prints...>
: # q pressed to exit
$ q # q exits, but q is not eaten
这是配置问题吗?我正在为 Windows v2.27.0.
使用 Git
在PowerShell/CMD中没有出现该问题,使用例如less
在大文本文件上。
此问题已得到解决。我不确定哪个版本,但 2.33.0.windows.2
没有这个问题。
可能是这种情况,因为您可能已经自动离开了 git log
,因此您不必按“:q”,而我使用 git bash 在 windows 上。
如果是 cat
你想退出按 ctrl + d
.
我希望这能回答问题。
复制:
$ git log
... # <first section of log prints...>
: # q pressed to exit
$ q # q exits, but q is not eaten
这是配置问题吗?我正在为 Windows v2.27.0.
使用 Git在PowerShell/CMD中没有出现该问题,使用例如less
在大文本文件上。
此问题已得到解决。我不确定哪个版本,但 2.33.0.windows.2
没有这个问题。
可能是这种情况,因为您可能已经自动离开了 git log
,因此您不必按“:q”,而我使用 git bash 在 windows 上。
如果是 cat
你想退出按 ctrl + d
.
我希望这能回答问题。