git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git help error

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 4, 2007, 17:55 UTC
Message-ID
<7v1wa25oqc.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<cc723f590712040826o7ca36bfg35b8cb4d64ee8d2d@mail.gmail.com>
"Aneesh Kumar" <aneesh.kumar@gmail.com> writes:
Show 15 quoted lines
> git help gives me the below error.
>
> [master@git]$ git help add
> No manual entry for git-add
> See 'man 7 undocumented' for help when manual pages are not available.
> [master@git]$
>
> I have the git binaries installed via --prefix
>
> ./configure --prefix=/home/kvaneesh/bin-local/git/
> and to see the man page i have to say
>
> man -M /home/kvaneesh/bin-local/git/share/man/
>
> I guess git-help need to take care of the prefix.
When you run "man" from the command line, can you say
     $ man git-add

and make it work? If it fails the same way, then what you are missing is MANPATH environment variable, isn't it?

Previous: Aneesh KumarNext: Sergei Organov
Message 2 of 8 in “git help error”
  1. Aneesh KumarDec 4, 2007
  2. Junio C HamanoDec 4, 2007
  3. Sergei OrganovDec 4, 2007
  4. Junio C HamanoDec 4, 2007
  5. Luciano RochaDec 4, 2007
  6. David KastrupDec 4, 2007
  7. Luciano RochaDec 4, 2007
  8. Sergei OrganovDec 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.