如何退出git status命令生成的终端列表模式?


当前回答

退出对我来说是这样的。 我的结果按后返回;

my-mac:Car Game mymac$ exit
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
    ...completed.
[Process completed]

其他回答

:q

实际上,这是一个更少的命令。它使用与vi相同的命令。

Crt + c适用于Windows!user1852392

请在git bash中尝试以下步骤,它可能对您有帮助。

CTRL + c :质量保证!

我必须在这里进行猜测,但是git可能会将其输出运行到您的$PAGER程序中,可能更少,也可能更多。在任何一种情况下,输入q都可以让您退出。

首先,您需要在终端中设置行结束首选项

git config --global core.autocrlf input
git config --global core.safecrlf true

然后你可以用q