Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Mavericks+iTerm。
当我运行任何 git 命令时,它会在另一个屏幕上而不是在命令下显示结果。它曾经在命令下,但有一天它开始使用其他屏幕,如图所示。
我必须打字q才能返回。
q
我怎样才能改变这个?我想在 git 命令下显示结果。
先感谢您。
Git 正在使用寻呼机在屏幕截图中显示状态。禁用寻呼机以摆脱这种行为,例如
git --no-pager ...
还有一些配置选项可以为单个命令禁用寻呼机,或者您可以将标志更改为寻呼机,以便在输出少于一屏时立即存在。