Add a note in the on-line Git book about installing the man pages?
- From
- David Tonhofer <d.tonhofer@m-plify.com>
- Date
- Apr 2, 2013, 16:53 UTC
- Message-ID
- <515B0D00.6020506@m-plify.com>
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"