git help log on windows powershell正在浏览器中打开一个html页面,而不是在浏览器上显示它

Viv*_*Dev 2 git

我在 Windows 上使用powershell来执行命令git help log。我想查看控制台本身的帮助内容。但它会下载一个页面并将其显示在浏览器中。我应该怎么做才能使其显示在控制台本身上?

在此输入图像描述

Ash*_*dal 5

这通常用 来设置git config --global help.format <web|man|info>

但是,手册页不是 Git for Windows 捆绑包的一部分,因此只有“web”有效。

另一种方法是安装 Cygwin,然后使用 git。那有你希望看到的“男人”帮助。

安装 Windows 版 git 的手册页

显然这是可能的:http://bitsandnucleications.tumblr.com/post/58929593915/response-to-the-question-man-pages-for-git-bash

然而,看看这些说明,我认为如果您希望看到“man”帮助,那么 Cygwin git 是更简单的方法。