linux下安装的git,帮助文档不能用
2012-10-14 16:30
483 查看
故事情节的git版本为1.8.0-rc2,如下所示:
今天在CentOS上安装了git(下载源代码编译),安装完后,发现git的帮助命令不能用,如下图所示,提示:No manual entryfor git-***。
折腾好久才发现,是因为git的帮助文档(man page)缺失导致,可以去git的man文件夹验证下(我的地址是:/usr/local/share/man),比如git commit的man page对应着一个名为git-commit*的帮助手册。
可以从以下两个地方下载比较权威的man page文档:
①:http://code.google.com/p/git-core/downloads/list
②:从以下地址gitclone
git://git.kernel.org/pub/scm/git/git-manpages.git
http://git.kernel.org/pub/scm/git/git-manpages.git
https://git.kernel.org/pub/scm/git/git-manpages.git
将下载下来的man page文件拷贝进git的man文件夹里即可。
[root@bogon /]# git --version git version 1.8.0-rc2 |
[root@bogon /]# git commit –help No manual entry for git-commit [root@bogon /]# [root@bogon /]# [root@bogon /]# git status --help No manual entry for git-status [root@bogon /]# [root@bogon /]# [root@bogon /]# |
可以从以下两个地方下载比较权威的man page文档:
①:http://code.google.com/p/git-core/downloads/list
②:从以下地址gitclone
git://git.kernel.org/pub/scm/git/git-manpages.git
http://git.kernel.org/pub/scm/git/git-manpages.git
https://git.kernel.org/pub/scm/git/git-manpages.git
将下载下来的man page文件拷贝进git的man文件夹里即可。
相关文章推荐
- 在本地安装git的HTML帮助文档
- ubuntu 10.04安装git-doc帮助文档
- linux安装中文帮助文档
- Centos Linux 如何安装man帮助文档包
- vs2010不能安装本地帮助文档
- Linux编程中安装必要的man帮助文档
- 在本地安装git的HTML帮助文档
- 在本地安装git的HTML帮助文档
- Linux安装必备开发环境和帮助文档
- 讨论:为什么 Linux 到现在也不能双击安装软件
- linux下安装git
- 【原创】Linux系统不能上互联网情况下软件更新安装方法
- linux平台 oracle 数据库 安装文档
- 二、安装Git、设置Git、获取Git帮助
- linux下git的安装和使用(转)
- CentOS6.6使用linux git官网最新安装包安装git-2.3.5
- linux下之手动安装git教程
- linux安装git方法
- linux下之手动安装git教程
- linux 通过源码安装git 出现的 can't locate Extutils/MakeMaker.pm in @INC(@INC contains: /usr/local/lib64/perl5