如何让 git 在 Windows 中显示命令行帮助?
我正在使用 msysgit 1.7.4。
浏览器默认打开html帮助
我只想在控制台上显示文本帮助。
我看过配置 help.format(默认设置为 html)。我尝试将其设置为 man 或 info,但它只是说:
fatal: no info viewer handled the request
谢谢, 亚光
最佳答案
使用 git <command> -h
而不是 --help
或 help
.它适用于 Windows 版 Git 的所有最新版本,但只提供了简短的用法,而不是完整的描述。
关于git - 我如何让 git 在 Windows 中显示命令行帮助?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5517564/