The GIT version of the story is 1.8.0-RC2, as shown below:
[Root @ bogon/] # git -- version Git version 1.8.0-RC2 |
Today, git is installed on centos (download source code compilation). After the installation, it is found that the Help Command of git is unavailable, as shown in. The prompt is: no manual entryfor Git -***.
[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/] # |
It took a long time to find out that the GIT help document (man page) is missing. You can go to the GIT man folder for verification (My address is: /usr/local/share/Man). For example, the GIT commit man page corresponds to a help manual named Git-commit.
You can download the authoritative man page document from the following two places:
①: Http://code.google.com/p/git-core/downloads/list
②: Gitclone from the following address
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
Copy the downloaded man page file to the man folder of git.