如何打开寻呼机以输出git status? [英] How can I turn on a pager for the output of git status?
本文介绍了如何打开寻呼机以输出git status?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望在类似less
的环境中返回git status
的输出.这已经适用于git diff
,但不适用于git status
.我已经尝试将以下内容添加到~/.gitconfig
,但是没有用:
I want the output of git status
to be returned in a less
-like environment. This already works for git diff
, but not git status
. I already tried adding the following to ~/.gitconfig
, but it didn't work:
[core]
pager = less
我想念什么?谢谢.
推荐答案
查看全文