最佳答案
我希望在类似于 less
的环境中返回 git status
的输出。这已经适用于 git diff
,但不适用于 git status
。我已经试过在 ~/.gitconfig
中添加以下内容,但是没有用:
[core]
pager = less
我错过了什么? 谢谢。