Git installed in Linux, the help document is not available

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.