core.pager指定 Git 运行诸如log
、diff
等所使用的分页器,你能设置成用more
或者任何你喜欢的分页器(默认用的是less
), 当然你也可以什么都不用,设置空字符串:
1 git config --global core.pager ''
这样不管命令的输出量多少,都会在一页显示所有内容。
core.pager指定 Git 运行诸如log
、diff
等所使用的分页器,你能设置成用more
或者任何你喜欢的分页器(默认用的是less
), 当然你也可以什么都不用,设置空字符串:
1 git config --global core.pager ''
这样不管命令的输出量多少,都会在一页显示所有内容。