Skip to content
Advertisement

Git man page seems incorrect

I’m new to git, so please excuse me if this is a dumb question.

I have installed git 1.7.7.4 from source on SLES Linux, and all looks good. I have added the following to $MANPATH:

/usr/local/git-1.7.7.4/share/man

When I do man git, I’m presented with

Git(3)         User Contributed Perl Documentation         Git(3)

NAME
       Git - Perl interface to the Git version control system

SYNOPSIS
...

This doesn’t look like a man page for the git command I use from the command line. Or is it? Sounds like something for perl, obviously. Here is an online version of the full man page I’m seeing.

If this is not the correct man pages, where can I find them? I can give a directory listing of my git install if needed. Thanks.

Advertisement

Answer

Update git 2.8 (March 2016)

The installation from sources mentions, in order to build the doc and man pages:

$ make all doc info
$ sudo make install install-doc install-html install-info

I confirm a man git will directly get you man (1) git.
It content differs from the git README which just lost the snarky “stupid content tracker” (said README is now a markdown-enabled README.md!)

README.md: don’t call git stupid in the title

“the stupid content tracker” was true in the early days of Git, but hardly applicable these days.
“fast, scalable, distributed” describes Git more accurately.

Also, “stupid” can be seen as offensive by some people. Let’s not use it in the very first words of the README.

The man page should soon follow suit.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement