git - 我如何让 git 在 Windows 中显示命令行帮助?

标签 git msysgit

如何让 git 在 Windows 中显示命令行帮助?

我正在使用 msysgit 1.7.4。

浏览器默认打开html帮助

我只想在控制台上显示文本帮助。

我看过配置 help.format(默认设置为 html)。我尝试将其设置为 man 或 info,但它只是说:

fatal: no info viewer handled the request

谢谢, 亚光

最佳答案

使用 git <command> -h而不是 --helphelp .它适用于 Windows 版 Git 的所有最新版本,但只提供了简短的用法,而不是完整的描述。

关于git - 我如何让 git 在 Windows 中显示命令行帮助?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5517564/

相关文章:

git - Cruise Control .net git 日志无效修订范围

git - 自动镜像一个git仓库

Git 忽略特定文件

git - msysgit 的麻烦

git - 创建一个 git 别名以附加到 .gitignore

git - 如何更改 git 中的特定字体颜色?

git - 尝试克隆存储库但行尾错误

git - "git stash create x"- 它在哪里?

Git 提交日志图 - 困惑

c++ - 如何在 Windows 上构建 git?