threads / discuss / 33355

Add a note in the on-line Git book about installing the man pages?

Subject: Add a note in the on-line Git book about installing the man pages?

## tl;dr

2 messages between Apr 2, 2013 and Apr 2, 2013.

replies: 1people: 2as markdown or json

David Tonhofer· Apr 2, 2013, 16:53 UTC · lore
Hi,

It seems the git man pages (or HTML pages) are not installed by default when you install git as described in the http://git-scm.com/book

I propose to add a note to http://git-scm.com/book/en/Getting-Started-Installing-Git along those lines:

Getting the git manpages from "https://code.google.com/p/git-core/downloads/list" and unpack them (supposing you installed your git into "/opt/git"):

TARGET=/opt/git VERSION=`$TARGET/bin/git --version | awk '{print $3}' | cut -d '.' -f1-3` wget "http://git-core.googlecode.com/files/git-manpages-${VERSION}.tar.gz" mkdir "$TARGET/share/man" tar xz -C "$TARGET/share/man" -f "git-manpages-${VERSION}.tar.gz"

Junio C Hamano· Apr 2, 2013, 17:27 UTC · re: David Tonhofer · lore

Re: Add a note in the on-line Git book about installing the man pages?

David Tonhofer <d.tonhofer@m-plify.com> writes:
Show 11 quoted lines
> It seems the git man pages (or HTML pages) are not installed by
> default when you install git as described in the
> http://git-scm.com/book
>
> I propose to add a note to
> http://git-scm.com/book/en/Getting-Started-Installing-Git along those
> lines:
>
> Getting the git manpages from
> "https://code.google.com/p/git-core/downloads/list" and unpack them
> (supposing you installed your git into "/opt/git"):

I suspect that most end-users would install not from the source but install Git from distro as binary packages. I do not know what the page of that website you refer to talks about offhand, but if it is about installing from the source (so that they can help us improve the software and its documentation), it may be a better idea to let the users build the documentation pages from the source, not from the above URL, which serves pre-formatted documentation we cannot take a patch for.

← back to recent threads