Git diff - 如何退出差异列表

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7568811/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 11:56:49  来源:igfitidea点击:

Git diff - how to quit the diff listing

git

提问by jaffa

How do you quit git diff listing?

你如何退出 git diff 列表?

There is an <END>marker at the bottom of the screen, and everything I do which appears to quit the diff listing, then shows an <END>marker at the bottom of the screen again.

<END>屏幕底部有一个标记,我所做的一切似乎都会退出差异列表,然后<END>再次在屏幕底部显示一个标记。

回答by Ben James

The default pager for git is less. To quit less, hit q.

git 的默认寻呼机是less. 要退出less,请点击q