Skip to contentSkip to conversation

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

DISCUSSION David Tonhofer 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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"

#1 lore raw
Quoted 11 lines · David Tonhofer

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.